Skip to content

Conversation

@muffpy
Copy link

@muffpy muffpy commented Oct 20, 2020

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.

Change dfs-stack to not include break in inner loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant