Bidirectional BFS [mp]
Micro pattern¶
Description¶
Search from source and target simultaneously and expand the smaller frontier until they meet.
Problems¶
- 127. Word Ladder (Top Hard)
Search from source and target simultaneously and expand the smaller frontier until they meet.