Domanda di colloquio di Medtronic

How did you go about solving this problem?