Skip to content

Refactor Happy Number and Factorial Recursion, Remove Duplicate BubbleSort.py - #447

Open
Slowlemon1423 wants to merge 2 commits into
Astrodevil:mainfrom
Slowlemon1423:optimizations-cpp
Open

Slowlemon1423 wants to merge 2 commits into
Astrodevil:mainfrom
Slowlemon1423:optimizations-cpp

Conversation

@Slowlemon1423

Copy link
Copy Markdown

Made happy number.cpp use the Tortoise and Hare algorithm for cycle detection. Expanded one liner in factorial_recursion.cpp for readability. Removed BubbleSort.py as it was practically the same as bubblesort.py.

This branch has not been deployed

No deployments
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.

1 participant