Pregunta de entrevista de Native Design

To make a flow-chart/ algorithm.