Topic: Dynamic Programming Problem / Level: intermediate

Problem: Solve the "Tallest Stack of Books" problem where you maximize the height of a stack of books where no book on top is heavier or larger than the one below using dynamic programming.

Run the code to see the output here...