Tech Mahindra interview question

Technical questions asked for technical round