Microsoft interview question

Question: Interval Scheduling problem greedy approach