CME Group interview question

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