Check Sorted Array Leetcode Questions On Python