Search in Rotated Sorted Array
Problem: Array was sorted, then rotated at some pivot. Find target.
Key: At least one half is always sorted!
β’ If arr[left] β€ arr[mid] β Left half is sorted
β’ Otherwise β Right half is sorted
β’ Check if target is in sorted half, search there; else search other half
Time: O(log n)