Pregunta de entrevista de Blackhawk Network

Programming maximum profit with multiple transactions