Pregunta de entrevista de Bending Spoons

Different logic, probability and math problems