Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 22.3-7.h #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update 22.3-7.h #1

wants to merge 1 commit into from

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.

None yet

1 participant