Knight Dialer - Leetcode 935
Vložit
- čas přidán 27. 07. 2024
- Today we will solve the "Knight Dialer" problem from Leetcode. We will walk through a recursive dynamic programming solution to solve this problem.
Give this problem a try here: leetcode.com/problems/knight-...
Don't miss Dynamic programming playlist here: • Dynamic Programming
Don't miss Arrays playlist here: • Queue
Don't miss Strings playlist here: • Strings
This question has been asked by Amazon, Meta, Google, Apple, Microsoft, and so many other companies.
Please check the channel page for more Leetcode solution videos. Also don't forget to like, comment, and subscribe.
Hope you enjoy the video and Thanks for watching 🙏
Chapters:
0:00 Intro and question
0:04 Examples
0:41 The next jump
1:29 The next location jump states
2:26 Bigger digits to dial
3:38 Our plan to code it up
4:16 Code walkthrough
6:17 Implement Caching
7:56 Time and Space Complexity - Věda a technologie
amazing !