When the table is unnecessary work
Counting the routes across an empty grid, moving only right or down, can
be done with a table in O(r x c).
What is better here, and why does it stop working?
Counting the routes across an empty grid, moving only right or down, can
be done with a table in O(r x c).
What is better here, and why does it stop working?