Tech Mahindra interview question

Focused on Algorithms and data structures -> Quick sort and Queues