Skip to content
RED SAGSkills
hard20 pts · first answer countssorting-and-searching

Rotated array search with duplicates

Searching a rotated sorted array that allows duplicates, you see a[lo] == a[mid] == a[hi], as in [1, 1, 1, 0, 1, 1]. What can you do, and what does it mean for worst-case time?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions