1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. For any array, given that at most one el...
Q.

For any array, given that at most one element is non-zero, it is ALWAYS possible to reach the end of the array using minimum jumps.

A. true
B. false
Answer» B. false
Explanation: consider the array {1,0,2,3,4}.

Discussion