Codele / Algorithms

Dynamic programming: fill a table

Solve the smallest cases first, write the answers in a table, and build up to the big question one square at a time.

Loading the playable lesson…