NP problem, NPC problem and NPC problem

Source: Internet
Author: User

NP problem NPC and NPC problem

P-Class Problems: If a problem can be found in a polynomial time to solve its algorithm, then this problem belongs to the P problem.

NP problem: Refers to the problem of validating a solution in polynomial time. Another definition of NP problem is that you can guess the problem of a solution in polynomial time.

Obviously, all P-class problems are NP-related. The point is that people want to know if all NP problems are P-type.

NPC question: At the same time meeting the following two conditions is the NPC problem. First, it has to be a NP problem, and then all NP problems can be reduced to it.

Np-hard problem: It satisfies the NPC question definition of the second article but not necessarily satisfies the first (that is, the np-hard problem is wider than the NPC problem)

Reference: 1, what are P problems, NP problems, and NPC questions

2. Turing and NP-hard problems

NP problem, NPC problem and NPC problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.