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

added Boruvka's MST algorithm #2026

Merged
merged 14 commits into from May 25, 2020
Merged

added Boruvka's MST algorithm #2026

merged 14 commits into from May 25, 2020

Conversation

@nitishabharathi
Copy link
Contributor

nitishabharathi commented May 22, 2020

Describe your change:

Added Boruvka's Minimum Spanning Tree Algorithm

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Documentation change?

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new Python files are placed inside an existing directory.
  • All filenames are in all lowercase characters with no spaces or dashes.
  • All functions and variable names follow Python naming conventions.
  • All function parameters and return values are annotated with Python type hints.
  • All functions have doctests that pass the automated testing.
  • All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.
Copy link
Member

poyea left a comment

Thank you for the code! Could you please also add some doctests and typing for your functions and classes, as stated in the CONTRIBUTION.md? It seems that the build failure can be fixed by enabling GitHub Actions in your fork setting.

nitishabharathi and others added 2 commits May 22, 2020
@github-actions github-actions bot force-pushed the nitishabharathi:master branch from decbcf8 to a5d1c92 May 22, 2020
@poyea
Copy link
Member

poyea commented May 22, 2020

The build is failing because of exceptions and failing tests. Add more commits to your branch to fix them.

nitishabharathi and others added 2 commits May 22, 2020
github-actions github-actions
@Abhiram010
Copy link

Abhiram010 commented May 25, 2020

Please check my small code my respiratory "My time saver" give a hand to raise new programmer it completely written with if you can just execute and check

cclauss added 3 commits May 25, 2020
@cclauss
Copy link
Member

cclauss commented May 25, 2020

Avoid mutable default values https://docs.python-guide.org/writing/gotchas/

@github-actions github-actions bot force-pushed the nitishabharathi:master branch from 719c791 to 042f2c5 May 25, 2020
cclauss and others added 4 commits May 25, 2020
@poyea
poyea approved these changes May 25, 2020
Copy link
Member

poyea left a comment

Thank you for your pull request!🤩

@cclauss cclauss merged commit 0e61906 into TheAlgorithms:master May 25, 2020
2 checks passed
2 checks passed
codespell
Details
Travis CI - Pull Request Build Passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.