wiz-icon
MyQuestionIcon
MyQuestionIcon
10
You visited us 10 times! Enjoying our articles? Unlock Full Access!
Question

Let πA be a problem that belongs to the class NP. Then which one of the following is TRUE?

A
There is no polynomial time algorithm for πA
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
If πA is NP-hard, then it is NP-complete
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
πA may be undecidable
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
If πA can be solved deterministically in polynomial time, then P = NP
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B If πA is NP-hard, then it is NP-complete
It is given that πA ϵ NP

If πA is NP- hard and since it is given that πA ϵ NP, this means that πA is NP-complete.

Choice (c) is correct.

Notice that choice (a) is incorrect since as P ϵ NP, some NP problems are actually P, and hence polynomial time algorithm can exist for this.

Choice (b) is incorrect since, If πA can be solved deterministically in polynomial time, it does not generate that P = NP, unless of-course it is additionally known that πA is NP-complete.

Choice (d) is incorrect since,
All problems belonging to P or NP have to be decidable.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Extrema
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon