Pergunta de entrevista da empresa FDM Group

problem solving Interval merging question