Pregunta de entrevista de Flexible Finance

Hardest problem you solved. Implementation details.