Pregunta de entrevista de Affirm

Problem on knapsack/optimization programming for streaming data.