Binary Search Question Leetcode Solutions