Skip to main content

4 docs tagged with "bfs"

View All Tags

Island Problems

A collection of classic grid/matrix traversal problems using DFS/BFS. These problems share a common pattern of exploring connected components in a 2D grid.