Jump Trading interview question

Implement a data structure (according to their specs)