DoorDash interview question

Leetcode like hard question 3-D dp.