Binary Search Leetcode Problems Javascript Code Runner