Word Search LeetCode | Backtracking | Blind 75 #50 | DFS Grid | Coding Interview
In this video, we solve LeetCode 79 - Word Search, problem #50 of the
Blind 75 list! We use Backtracking + DFS to search every cell in the grid
β and I'll make it SO simple you can code it in any interview confidently.
π Source Code + Full Explanation:
https://github.com/yannigoyal/Blind75/tree/main/50_Word_Search
π Prerequisite Problems (Do These First!):
β Number of Islands (Grid + Graph both approaches) - https://youtu.be/zcbo8jRtLbk?si=eXa8gtgk1EHbzPIC
β Pacific Atlantic Water Flow - https://youtu.be/e9AXpDHQ1iM?si=8dnYK07VzB8AeWzM
β±οΈ Timestamps:
00:00 - Problem Understanding
00:49 - Drawing Explanation
04:15 - Code Walk-through
10:00 - Complexity Analysis
π‘ What You'll Learn:
β How Backtracking works on a 2D grid
β How to mark cells visited without extra space
β Why DFS is the perfect fit for Word Search
β Time & Space complexity explained clearly
π₯ This exact pattern appears in:
- FAANG coding interviews
- Google, Amazon, Microsoft OAs
- LeetCode Medium/Hard graph problems
π Full Blind 75 Playlist: [LINK]
π Subscribe for daily DSA problems β new video every day!
------------------------------------------
#WordSearch #LeetCode #Blind75 #Backtracking
#CodingInterview #DSA #DFS #LeetCode79
------------------------------------------