Pregunta de entrevista de Amazon

Question about dividing tasks (Typed response.)