Tech Mahindra interview question

haddop concepts