← ALL NOTES
Math

62. Unique Paths

You reach cell (i, j) only from directly above or directly left, so the number of paths into it is the sum of paths into those two neighbours. The whole top row and left column are reachable exactly…

Loading…