What will be the minimum number of jumps required to reach the end of the array arr[] = {1,3,6,3,6,8,5}?
(a) 1
(b) 2
(c) 3
(d) not possible to reach the end
This is a very interesting question from Number of Jumps to Reach End-array Operation in portion Arrays Types of Data Structures & Algorithms I
This question was posed to me in an internship interview.