Pregunta de entrevista de JCPenney

How to perform the allocation process?