DoorDash interview question

Question that was related to dynamic programming