IMC Trading Interview Question

What data structure should be used to maintain order queue sorted by price and time priority?

Interview Answer

Anonymous

May 17, 2024

I suggested a doubly-linked list with the nodes hashed to access any node in constant time.