Greedy + Binary Search