Problem
Given a sorted array of n integers, find the starting and ending position of a given target value.
If the target is not found in the array, return .
Example
Given and target value 8,return .
...
Search in Rotated Sorted Array
Problem
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).
You are given a target value to sear ...