Skip to content

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

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

Refactor Happy Number and Factorial Recursion, Remove Duplicate BubbleSort.py#447
Slowlemon1423 wants to merge 2 commits intoAstrodevil:mainfrom
Slowlemon1423:optimizations-cpp

Conversation

@Slowlemon1423
Copy link

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.

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