Structsยง
- State ๐
Functionsยง
- dfs ๐Modified depth first search that only allows paths that skip one node.
- graph_
to_ ๐grid - The graph is directed so the only allowed steps are down or to the right. The maximum value for any cell is the maximum of either the cell to the left or above.
- Graph is undirected so we can also move up or to the right.