Tech Mahindra interview question

Related to current work