Back to all patterns

Greedy (BFS-like)

1 problems • Practice on LeetCode to earn credits

About This Pattern

Master the Greedy (BFS-like) 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.

Medium (1)

Jump Game II

Find minimum number of jumps to reach the last index.

Key Signals:

Track current and next boundaryCount jumpsGreedy expansion