Hudson River Trading interview question

Implement algorithms and data structures.