Blog
Tutorials, guides, and insights to help you become a better developer.
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.
AdminAugust 2, 20268 min read