55. Jump Game
Intuition
We can use the back-tracking approach , with memorisation to avoid duplicate effort
Approach
When at $i$ try taking all possible jumps and return if any one works.
Complexity
Time complexity : $\text{O}()$
Space complexity : $\text{O}()$
Code
Last updated