Domanda di colloquio di KPIT Technologies

How would you approach this problem?