0
I am trying to implement depth-first search in a grid type of scenario, where each node has an x,y coordinate rather than a single value.
The grid is a 7x4 list of lists, for example:
data_df = [[0, 2, 0, 0, 0, 0, 0], [0, 1, 0, 1, 1, 1, 1], [0, 1, 0, 0, 0, 0, 0], [0, 3, 1, 1, 1, 1, 1]]
I the...