Pregunta de entrevista de Tableau Software

Well known stock maximizing algorithm