Pregunta de entrevista de Amazon

Highest profit problem Maximum unit problem