PREV INDEX NEXT

Author: Unknown
Subject: Dynamic programming algorithm
Date: Tuesday, 03 Mar 2020, 16:28:03

I don't understand the iteration that occurs in the dynamic programming algorithm solution to #1 on the practice test. When are the indices i and k changing? I tried looking at the example of the algorithm running you posted, but I'm still confused. Could you explain this in more detail? Thanks!
PREV INDEX NEXT