Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9266715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:22:58+00:00 2026-06-18T14:22:58+00:00

For a problem to be NP complete, it must belong to the class NP

  • 0

For a problem to be NP complete, it must belong to the class NP and there must be a polynomial time algorithm to reduce it to an NP complete problem .

Now what if we only have an exponential time algorithm for reduction . Will this problem still be called NP-complete ? Or are there no such existing problems?

EDIT : Also please tell me whether there is any such problem and if it exists then to which class does it belong ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T14:22:59+00:00Added an answer on June 18, 2026 at 2:22 pm
    Are such problems NP-complete?
    

    No. Proof:

    Let your problem = A.

    Let the NP-complete problem it reduces to in (at least) exponential time = B. “At least” because you can do extra trivial work to get to exponential time, or follow a less-than-optimal approach (to prove that there doesn’t exist a more efficient reduction strategy is probably quite difficult, probably in the same ball-park as N != NP, which, to date, hasn’t been solved).

    Since B is NP-complete, “every problem in NP is reducible to B in polynomial time”.

    If A is in NP then it must be polynomial-time reducible to B. But it isn’t, so it isn’t in NP.

    Thus it can’t be NP-complete.

    Put more simply – any problem in NP needs to be at most as hard as A and it clearly isn’t.

    Are there such problems?
    

    I’m thinking this may be such a problem: (recursive knapsack) (I wouldn’t mind a comment or two as to whether it is by someone smart)

    Given a set of items, each with a weight and a value, find a subset with maximum total weight A, and also find the subset within this subset with some maximum total weight C, with the goal to maximize the sum of values of the two subsets.

    To which class does it belong?
    

    I’m pretty sure there isn’t a name specifically for these, but I think many (or all?) of them are NP-hard. Proof: (at least for the above problem, assuming it is such a problem)

    Definition: “A problem H is NP-hard if … (an NP-complete problem) L can be solved in polynomial time by an oracle machine with an oracle for H”.

    Let’s assume the above example is such a problem and let it = H. So assume we have an oracle that can solve the above in constant time. But the knapsack problem is simply a special case of the above (C = 0), thus we can solve the knapsack problem in constant time (which is polynomial time) using the oracle.

    Not sure about proving it generically. But any given problem could possibly be solved by reducing the given problem to the above problem or by reducing the problem the given problem reduces to to the knapsack problem.

    EDIT: Oh, it looks like they may indeed have a name, 2-EXPTIME.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is the complete source code: http://www.sendspace.com/file/lwxpyf I have a problem with a JSF
I have a mysql problem, my query looks as follows but not complete SELECT
I'm at a complete loss. I feel like there must be some glaring, stupidly
Problem: I have 3 machines, each machine have a limit of 30 ms time,
For some time now, I've observed an intermittent COM problem in my VSIX package
I have a problem with Observer pattern. First, I have a HttpHelper class to
The 0-1 Knapsack problem is known as NP-complete. But if the weight for each
Below is a complete html page that shows the problem. The myDiv should be
I am beginner trying to complete a simple JSON problem on SingPath which asks
I'm having a problem with this query that takes several seconds to complete. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.