2079 11

CSC262 · 2079 · 5 marks

Explain about the complexity classes p, NP and NP-Complete.

Explain about the complexity classes p, NP and NP-Complete. [5]

Theory of ComputationChapter 7: Undecidability and IntractabilityComplexity Classes

P (Polynomial Time) is the class of decision problems that can be solved by a deterministic Turing machine in polynomial time with respect to the input size n. - A problem belongs to P if there exists an algorithm that solves it in O(n^k) time for some constant k. - These are considered efficient...