Tech Mahindra interview question

How would u approach a certain problem ?