In this lesson we will be solving a programming interview question to find out the number of rotations of a sorted array in O(log n) time using binary search.