Back to all patterns

BFS

1 problems • Practice on LeetCode to earn credits

About This Pattern

Master the BFS pattern by practicing these problems organized by difficulty.Focus on the Key Signals - these are the indicators that tell you when to use this pattern.

Hard (1)

Word Ladder

Find shortest transformation sequence from start to end word.

Key Signals:

Shortest pathBFS level by levelGenerate neighbors