Expand description

bfs from multiple nodes in the same bfs. O(N + M)

Functions