CLRS-cpp icon indicating copy to clipboard operation
CLRS-cpp copied to clipboard

Update 22.3-7.h

Open muffpy opened this issue 5 years ago • 0 comments

Change dfs-stack to not include break in inner loop

Commented out break statement because it is not necessary. All vertices in an adjacency matrix can be added to the stack and the top one can be looked at everytime. The order in which nodes are looked up changes but otherwise the operation is the same.

muffpy avatar Oct 20 '20 21:10 muffpy