Pergunta de entrevista da empresa CME Group

A coding question based on use of data structures in Java or any language that the user is comfortable in