Skip to content

Keeping one row

A grid DP reads only the row above and the cell to the left.

Can a single row array replace the whole grid?