Tech Mahindra Interview Question

Implement Stack with queue.

Interview Answer

Anonymous

Oct 4, 2016

Maintain two queues.One for insertion and one for deletion.