Skip to content

Conversation

@vishaldesai516
Copy link
Contributor

For a graph without 0 value it will give exception so better to take first node as a root

For a graph without 0 value it will give exception so better to take first node as a root
@Ahmad-A0
Copy link
Collaborator

Thanks, @vishaldesai516!

@Ahmad-A0 Ahmad-A0 merged commit 7ae3d84 into neetcode-gh:main Aug 24, 2022
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.

2 participants