Pregunta de entrevista de BlackRock

Some financial related greedy algorithm problem