Optiver interview question

Asked to implement Queue data structure