RBC interview question

Optimization algorithm