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

Exercise 22.1-1, out degree #341

Open
jhnlynn opened this issue Dec 17, 2021 · 1 comment
Open

Exercise 22.1-1, out degree #341

jhnlynn opened this issue Dec 17, 2021 · 1 comment

Comments

@jhnlynn
Copy link

jhnlynn commented Dec 17, 2021

Since we're looking at every vertex's edges, the total time should be O(V+E).

@jiangxiaoxin
Copy link

@jhnlynn Right ! Out-degree takes O(V+E) time , and in-degree takes as the same.

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

No branches or pull requests

2 participants