Let's say I have a 500x500 2D grid (from -250 to 250). Each cell of the grid has a certain value, from 0 to 100. What I've been trying to do is keep a list of all the cell with a value lower than 50 starting at the point (0, 0), but I would like not
I am making a BFS algorithm using pseudocode. My program crashes and does not complete. Put some comments on where my debugger says the problem but I can't seem to understand it. Code Problem is in Graph.C in the BFS() line 250 Any help is appreciate