Pregunta de entrevista de FDM Group

problem solving Interval merging question