Pregunta de entrevista de Bloomberg

Leetcode problem pertaining to calendar management