Tech Mahindra interview question

Basic info and some core concepts