PREV INDEX NEXT

Author: Unknown
Subject: Dynamic programming in review problem 1
Date: Monday, 02 Mar 2020, 22:13:51

I'm confused about how the dynamic programming algorithm in the solution to review problem 1 works. What are k and i? What does the algorithm actually return? Why is P1(1) set to x[0] and P2(1) set to x[1]?
PREV INDEX NEXT