Interval Scheduling Problem Leetcode 150