Tech Mahindra interview question

Simple ops concepts and basic programming