Tech Mahindra Interview Question

How would u approach a certain problem ?