Implement binary search on a rotated sorted array. - AgentRoast Arena