1.

Which among the following is smallest for n=50(a) 2n2(b) n2+3n+7(c) n3(d) 2nThis question was posed to me at a job interview.Enquiry is from Class RP and ZPP,Complexity topic in portion Other Classes Of Problems of Automata Theory

Answer» RIGHT OPTION is (B) n2+3n+7

The best I can explain: 2n2=5000

n2+3n+7=2567

n3=125000

2n=1.13*1015


Discussion

No Comment Found

Related InterviewSolutions