1.

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 mentionedThe question was posed to me during an interview for a job.The query is from Problem Solvable in Polynomial Time topic in chapter Intractable Problems of Automata Theory

Answer»

The correct choice is (d) all of the mentioned

The best I can explain: 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.



Discussion

No Comment Found

Related InterviewSolutions