Interval Scheduling Problem Leetcode Solutions C