We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Jumping on the Clouds
Jumping on the Clouds
Sort by
recency
|
3226 Discussions
|
Please Login in order to post a comment
A very classic DP problem, make sure you bypass index 0, you can set
dp[1] = 1
manually.javaScript
Hi there! Here's my Java solution:
https://github.com/eduardocintra/hacker-rank-solutions/blob/master/src/br/com/eduardocintra/easy/jumpingontheclouds/JumpingOnTheClouds.java
Here is my c++ solution, you can watch the explanation here : https://youtu.be/GNof9B-9CN0