Back to all patterns

Binary Search / Modified

1 problems • Practice on LeetCode to earn credits

About This Pattern

Master the Binary Search / Modified 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)

Search in Rotated Sorted Array II

Search for a target value in a rotated sorted array that may contain duplicates.

Key Signals:

Rotated arrayDuplicates allowedModified binary search