Tech Mahindra interview question

Problem solving method for software related topics