Pergunta de entrevista da empresa Amazon

Question about dividing tasks (Typed response.)