← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper
Question
Explain P class problems in detail.
Asked in: CS-501 | June 2020 | 4(a)
Answer
P is the class of decision languages decidable by a deterministic Turing machine in time O(nᵏ) for some fixed constant k. The input length n is measured in bits or symbols of the encoding. Examples include graph reachability by BFS, testing whether a graph is bipartite and deciding whether a shortest path has length at most a given bound (for nonnegative weights). P is closed under union, intersection and complement by combining or reversing polynomial-time deciders. P is contained in NP. Polynomial time is a theoretical tractability criterion; a large polynomial exponent can still make an algorithm impractical. Whether P equals NP remains unresolved.
← RGPV CS-501-CBGS Theory of Computation June 2020 Solved Paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion