Apple interview question

Design a work flow diagram for a problem