tatteredpotato
Diamond Member
What's the best way to compute the "path" to the solution? My initial thought is to use a secondary matrix with a flag indicating the "source" to that node (like 1 = Diagonal, 2 = Vertical, 3 = Horizontal), however my initial shot at this didn't work and I'm not sure if I have a coding bug or a logic error. Is there a better/more accepted way of getting the path to the solution?