Bending Spoons interview question

Logical reasoning problems and a system design problem.