mthree interview question

2 sum , find element in roated sorted array