University Year 3 Mathematics ยท Dynamic programming
Let's begin
Use states and recurrences for staged decisions.
One step at a time. Answers stay hidden until you have had a go.