Capital One interview question

Data Structures (Stack, Queue, Lists)