Pregunta de entrevista de Pocket Gems

2nd round phone: Reverse Backpack problem