Tech Mahindra interview question

Don't had any difficult question.