17 17 votes Let $\pi_A$ be a problem that belongs to the class NP. Then which one of the following is TRUE?There is no polynomial time algorithm for $\pi_A$.If $\pi_A$ can be solved deterministically in polynomial time, then P = NP.If $\pi_A$ is NP-hard, then it is NP-complete.$\pi_A$ may be undecidable. Theory of Computation gatecse-2009 theory-of-computation p-np-npc-nph non-gatecse + – Kathleen 13.7k views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply happysingh commented Apr 20, 2020 reply Follow flag If a problem is both NP hard and NP, then it is NP Complete. 1 1 replyShare Overflow04 commented Nov 3, 2022 reply Follow flag @Kabir5454 does NP is in syllabus. 0 0 replyShare halfcodeblood commented Oct 15, 2024 reply Follow flag @Overflow04 No 0 0 replyShare Please log in or register to add a comment.
Best answer 23 23 votes A problem which is in P, is also in NP- so, A is false. If problem can be solved deterministically in Polynomial time, then also we can't comment anything about P=NP, we just put this problem in P. So, B also false. C is TRUE because that is the definition of NP-complete. D is false because all NP problems are not only decidable but decidable in polynomial time using a non-deterministic Turing machine. shree answered Jan 31, 2015 • edited Jun 15, 2018 by Milicevic3306 shree comment Share Follow See all 15 Comments 15 15 Comments reply Show 12 previous comments Aks9639 commented Sep 8, 2019 reply Follow flag @Arjun sir we can surely say that if L in NPC and L is polynomial time reducible, then we can only say that P = NP , but still we can't say about P= NP= NPC, i have never found anything like this in CLRS ? NPC still a class of problems that would be proper subset of NP but not equal to P, isn't it ? 0 0 replyShare KUSHAGRA गुप्ता commented Dec 5, 2019 reply Follow flag $\pi _{A}\ is\ (NP+ NPH)=NPC$ 1 1 replyShare Divyanshu Shukla commented Sep 6, 2020 reply Follow flag Cleary problem A is NP-hard But it is not NP-complete so all the options are incorrect. 0 0 replyShare Please log in or register to add a comment.