Bending Spoons interview question

Different logic, probability and math problems