Native Design interview question

To make a flow-chart/ algorithm.