Pgadmin Binary Search Leetcode Problem