News

BFS (Breadth-First Search): Explores all neighbors before moving to the next level. 🔍 Key Takeaways: Use DFS when you want to explore deep paths (e.g., puzzles, mazes).