Domanda di colloquio di Shop Bonsai

One typical algorithm question and logic problems.