Tech Mahindra interview question

Aptitude and Data Structure and algorithms