Optiver Interview Question

Implement a queue from scratch