Bending Spoons interview question

Risolvere task logici e probablistici