Bending Spoons Interview Question

A problem-solving quiz on their website