Pregunta de entrevista de Bending Spoons

Some exercises based on logic, probability, etc.