A problem X belongs to P complexity class if there exist ________ algorithm to solve that problem, such that the number of steps of the

KellyPoima

New member
A problem X belongs to P complexity class if there exist ________ algorithm to solve that problem, such that the number of steps of the algorithms bounded by a polynomial in n, where n is the length of the input.
A. 1
B. 2
C. 3
D. all of the mentioned
 
Answer: D
Explanation: A problem X belongs to P complexity class if there exist atleast 1 algorithm to solve that problem, such that the number of steps of the algorithms bounded by a polynomial in n, where n is the length of the input. Thus, all the options are correct.
 

Tìm kiếm

Back
Top