Module BFS / DFS

BFS / DFS

Frequency: 10/10

One of the most important algorithms in graph theory.

Resources

- [Youtube Abdul Bari: 5.1 Graph Traversals - BFS & DFS -Breadth First Search and Depth First Search](https://www.youtube.com/watch?v=pcKY4hjDrxk) - [Wikipedia: Depth-first search](https://en.wikipedia.org/wiki/Depth-first_search) - [Wikipedia: Breadth-first search](https://en.wikipedia.org/wiki/Breadth-first_search)

Problems

Connected component 1623 / 1654 800
Shortest path 1452 / 1483 800
Finding the path 1331 / 1351 800
Path on binary matrix 1171 / 1202 800
Garden 1053 / 1082 800
Operations on number 1058 / 1103 900
Bipartite graph 917 / 955 900
Tom and Jerry 989 / 1007 900
Festival 1 937 / 943 1000
Bamboo Forest of the Lost 689 / 988 1200
Radar 600 / 639 1200
Festival 2 558 / 590 1300
Go 439 / 456 1300
Escape from... dolls 447 / 472 1500
Long leg 380 / 433 1600
Lexicographically smallest path 314 / 364 1800
Graph coloring 250 / 310 1800