iluwatar / 30-seconds-of-java

Collection of reusable tested Java 17 compatible code snippets that you can understand in 30 seconds or less.
https://java-design-patterns.com/snippets.html
MIT License
1.04k stars 409 forks source link

Would like to add some more math snippets #191

Closed srijitt closed 6 months ago

srijitt commented 1 year ago

I would like to add some more basic snippets like decimal to binary conversion, binary to decimal conversion, armstrong number, etc. This would enhance the overall value of the repository, as many beginners start with solving such basic problems like armstrong numbers, happy numbers, bin2dec conversion and vice-versa.

iluwatar commented 1 year ago

Sounds good @srijitt, please go ahead

srijitt commented 1 year ago

Added 2 snippets, and made a PR. Do check it out kindly.

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions.

GerardluqueDev commented 6 months ago

Hello, how are you? First of all, I want to say that I'm new to GitHub and I still don't fully understand how it works, but if I can contribute to this task, I would be willing to work on it. I would need some guidance if it's not too much trouble. Thank you

iluwatar commented 6 months ago

Hey @GeriMultiDev, welcome! I'll close this issue as completed, but please feel free to create another for yourself explaining your idea. See also https://github.com/iluwatar/30-seconds-of-java/blob/master/CONTRIBUTE.md