Binary Search Questions Leetcode Two