Pregunta de entrevista de Google

Basic Maths and Logical based questions.