Skip to content

Refactor math/Collatz-Conjecture with memoization, input safeguarding and generator optimization - #682

Merged
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Facelessism:collatz
May 23, 2026
Merged

Refactor math/Collatz-Conjecture with memoization, input safeguarding and generator optimization#682
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Facelessism:collatz

Conversation

@Facelessism

Copy link
Copy Markdown
Contributor

📝 Description

This PR refactors the math/Collatz-Conjectureto improve structure, performance and safety with added generator based sequence processing, memoization for repeated computations and runtime as well as input safeguards.

🔗 Linked Issue

Closes #571


📋 Contribution Checklist

  • My code strictly adheres to the project guidelines (Standard library only, procedural code, clean spacing).
  • I have verified that my files are placed in the correct directory.
  • I have tested my changes thoroughly on my local machine.
  • I have included interactive emojis and clean console/UI outputs.
  • GSSoC 2026: I have been formally assigned to this issue and noted it above.

@vercel

vercel Bot commented May 23, 2026

Copy link
Copy Markdown

@Facelessism is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Facelessism

Copy link
Copy Markdown
Contributor Author

Hey @steam-bell-92
I’ve submitted the PR for the above issue.
Could you add the point multiplier labels to the PR if applicable?
Thank you

@steam-bell-92
steam-bell-92 merged commit b83c9a6 into steam-bell-92:main May 23, 2026
6 of 7 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.

We appreciate the time and effort you put into improving this project. Contributions like yours help the repository grow and stay useful for everyone.

If you'd like to contribute again, please check the open issues and make sure you are assigned before opening another Pull Request.

Thanks again for your support! 🙌

@Facelessism
Facelessism deleted the collatz branch May 24, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💡 [Feature]: Enhance the math/Collatz-Conjecture for modular design and performance optimization

2 participants