Skip to content

Mini no. of jumps#14

Open
adarssssh wants to merge 1 commit intoraghav1674:masterfrom
adarssssh:master
Open

Mini no. of jumps#14
adarssssh wants to merge 1 commit intoraghav1674:masterfrom
adarssssh:master

Conversation

@adarssssh
Copy link
Copy Markdown

Given an array of N integers arr[] where each element represents the max number of steps that can be made forward from that element. Find the minimum number of jumps to reach the end of the array (starting from the first element). If an element is 0, then you cannot move through that element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant