Pergunta de entrevista da empresa Moody's

Leetcode interval related question medium-hard level