1.

It is not possible to find the minimum number of steps to reach the end of an array in linear time.(a) true(b) falseI'm obligated to ask this question of Number of Jumps to Reach End-array Operation topic in portion Arrays Types of Data Structures & Algorithms IThis question was posed to me by my school teacher while I was bunking the class.

Answer»

Right answer is (B) false

Easy EXPLANATION - It is possible to find the minimum number of steps to REACH the end of an ARRAY in O(N) time complexity. So it is the fastest possible method of finding the minimum number of steps to reach the end of an array.



Discussion

No Comment Found

Related InterviewSolutions