Bending Spoons interview question

Logic and abstract thinking exercises