Fill the table in order
transcript
A driver crosses a grid of blocks. Each move goes right or down. How many routes reach each block? Each block is reached from above, or from its left. Fill a table to find out.
A block adds the block above it. And the block to its left. The start has one route. That is the whole rule.
The start has one route. The top row has one route each. The next row starts with one. Then one plus one is two. Then three, and four. The last row reads the row above. At the finish, four plus six is ten routes.
Each block reads two other blocks. Those two must be filled first. Fill a block too early, and it reads an empty cell. Row by row, left to right, always works.
A table is only as right as its order. Fill every input before the cell that reads it. Full breakdown in the lecture.