Deliveroo interview question

Leetcode medium on dynamic programming and greedy algorithm