Domanda di colloquio di Abbott

Q: How would you approach solving this particular problem (description forgotten).