Update basic_graphs.py#1990
Conversation
missing return statement line no:223.
poyea
left a comment
There was a problem hiding this comment.
Thank you for your PR. Why would this return a sum? Prim's algorithm should return a tree.
Also, this file has some other issues - no tests or references for algorithms. You may consider fixing some of those for functions in this file.
|
@poyea is this seems ok |
|
@poyea Please re-review. |
poyea
left a comment
There was a problem hiding this comment.
Thank you for your pull request!🤩
|
@karthikeyansa @cclauss @itsvinayak I think we can add some test graphs to this file, as it is quite difficult to see the expected output. An input graph for However, |
* Update basic_graphs.py missing return statement line no:223. * Update basic_graphs.py Co-authored-by: vinayak <itssvinayak@gmail.com>
missing return statement line no:223.
Describe your change:
Checklist:
Fixes: #{$ISSUE_NO}.