1.

An algorithm is called efficient if it runs in ____________ time on a serial computer.(a) polynomial(b) non polynomial(c) logarithmic(d) none of the mentionedThis question was addressed to me during an online exam.The doubt is from The Universal Language-Undecidability topic in portion Undecidability of Automata Theory

Answer»

The correct OPTION is (a) polynomial

Easiest EXPLANATION: Example: Runtimes of EFFICIENT algorithms

O(n), O(NLOGN), O(n^3log2^n)

Runtimes of INEFFICIENT algorithms

O(2^n), O(n!)



Discussion

No Comment Found

Related InterviewSolutions