Optiver interview question

Talk through how to implement a queue