Tech Mahindra interview question

Implement Stack with queue.

Interview Answer

Anonymous

4 Oct 2016

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