Hudson River Trading Interview Question

Implement algorithms and data structures.