32/41
Part 7 of 7 · Follow-upsLearn and do

How do you search a sorted list that was rotated?

[40, 50, 60, 10, 20, 30] was sorted, then cut and swapped. Find a value in O(log n).

Predict

[40, 50, 60, 10, 20, 30] was sorted, then cut and swapped. At which index does the moved part start?

Pick an answer above to see the rest