You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traverses an array, A, in the shortest number of hops or returns error code if not possible. At each index, i, we are allowed to hop to any indexes from i to i + A[i].
About
Traverses an array in the shortest number of hops.