Pregunta de entrevista de Agoda

Structure thinking questions, and math