1.

If the entire list is searched sequentially without locating x in linear search, the solution is __________(a) 0(b) -1(c) 1(d) 2I have been asked this question in an international level competition.My question is from Algorithms in portion Algorithms of Discrete Mathematics

Answer»

The correct CHOICE is (a) 0

The best EXPLANATION: If the ELEMENT is not FOUND in the entire list, then the SOLUTION is 0.



Discussion

No Comment Found

Related InterviewSolutions