Interval Scheduling Problem Leetcode