Pregunta de entrevista de CME Group

Q: Medium Level Difficulty Coding Question