Add another solution to the searching in a rotated sorted array for new online judge.