Leetcode - Jump Game (Python)

preview_player
Показать описание
Leetcode Blind Curated 75
Leetcode - Jump Game
Рекомендации по теме
Комментарии
Автор

Thanks to you, I finally understood the principle of the algorithm. And what kind of recursion should be there and how to avoid the recursion O(2**n).
I liked that you don't worry about the written code. If the code doesn't work, you can easily erase it and write a new one without trying to fix the previous one. And it turns out the solution becomes smaller and more optimal.
Thank you!

goshikvia
Автор

For Recursive method, why the time complexity is O(2**n) instead of O(n**n)?

yiyunsu
Автор

Hi Tim,
Please make such whiteboard explanations before the code it is really helpful when we get struck we can check the explanation

midhileshmomidi
Автор

how did you become so good at Algos? Just lots of practice?

ckarlife
visit shbcf.ru