1.

There are two algorithms suppose A takes 1.41 milli seconds while B takes 0.9 milliseconds, which one of them is better considering all other things the same?(a) A is better than B(b) B is better than A(c) Both are equally good(d) None of the mentionedI had been asked this question during an online exam.This question is from Algorithms topic in division Algorithms of Discrete Mathematics

Answer»

Right answer is (B) B is better than A

For explanation: B TAKES less TIME than A for the same task.



Discussion

No Comment Found

Related InterviewSolutions