Hi Gophers!
Here's the Golang solution for Leetcode 1306, Jump Game III with Depth First Search (DFS) and Breadth First Search (BFS).
Including visualisation of the algorithm and live coding implementation.
0:00 Introduction
0:18 Question
0:38 Example
1:45 Solution Overview
2:09 Visualise DFS (stack)
3:43 Coding DFS (stack)
7:08 Visualise DFS (recursion)
7:55 Key Intuition DFS (recursion)
8:27 Coding DFS (recursion)
9:51 Visualise BFS (queue)
11:20 Coding BFS (queue)
Explore other playlists here:
1. Top 150 leetcode questions:
https://www.youtube.com/playlist?list=PL-zQGDJG8D5R0Ng6WGaN-U9FORpE9EdGq
2. Medium leetcode questions:
https://www.youtube.com/playlist?list=PL-zQGDJG8D5SWeT8wOx12Lr_JV96bMHTn
3. Top Common Array leetcode questions:
https://www.youtube.com/playlist?list=PL-zQGDJG8D5QENQhUP83V_R7jGI861Xpw
All the best for coding interviews! :)
#depthfirstsearch #breadthfirstsearch #leetcode
#golang #golangtutorial #golanginterview
Download
0 formats
No download links available.
Leetcode 1306 - Jump Game III (Visualisation + Live Coding) | NatokHD