Dynamic Programming, Part 2–1

Example of Dynamic Programming, Part 1

This is a note I took while taking Avik Das’ Dynamic Programming course at Linkedin Learning. His course is awesome and I highly recommend it!

Flowerbox problem

Goal: Maximize the total height of all planted flowers.

Maximized total height, 12