InterviewDB Question

Non-overlapping Intervals