Brave Enterprises interview question

Construct the stack using queues