Binary Search Patterns Leetcode Rating