3 patterns
3 patterns · Updated 7/19/2026
Classic search plus the trickier rotated-array and boundary variants.