This figure shows a dynamic programming array example, but there's a wrong number (probably a typo) in the array's indexes. See image attached. 