InterviewBit Problems   Rotated Arrays : Solved