Binary Search Problem Leetcode Contest Prediction