Check if Array Is Sorted and Rotated

Answer Panel