Pregunta de entrevista de RBC

Few Math questions.