Interval Scheduling Problem Leetcode Sql 50