UOL Interview Question

To solve a practical problem while then were watching you...