Blog
Tutorials, guides, and insights to help you become a better developer.
Topological sort is how you order things with dependencies. Learn the DFS three-state and Kahn's BFS approaches to ace Course Schedule, Course Schedule II, and Alien Dictionary.
AdminFebruary 24, 20268 min read
Multi-source BFS is single-source BFS with all starting points seeded at once. Master this pattern and you can solve Rotting Oranges, Walls and Gates, and Word Ladder in one mental model.
AdminFebruary 23, 20268 min read