WorldQuant interview question

Something in data structure, like stack, queue