Esko interview question

greedy algorithm