Pergunta de entrevista da empresa CME Group

Q: Medium Level Difficulty Coding Question