Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.7k
Resolve duplicate entries for sieve of eratosthenes#1770
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Resolve duplicate entries for sieve of eratosthenes#1770
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…derMath/JavaScript_TheAlgorithms into remove-Eratosthenes-intarray
I had initially worked on it but then stopped due to personal commitments, I'm back to contributing now, hence the number of commits is a bit much |
codecov-commenter commentedJan 8, 2025
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## master #1770 +/- ##==========================================- Coverage 85.11% 85.09% -0.02%========================================== Files 378 377 -1 Lines 19740 19717 -23 Branches 2967 2963 -4 ==========================================- Hits 16801 16778 -23 Misses 2939 2939 ☔ View full report in Codecov by Sentry. |
a62a46e
intoTheAlgorithms:masterUh oh!
There was an error while loading.Please reload this page.
Fixes:#1666
Describe your change:
Checklist:
Example:
UserProfile.js
is allowed butuserprofile.js
,Userprofile.js
,user-Profile.js
,userProfile.js
are notFixes: #{$ISSUE_NO}
.Further description
I kept the SieveOfEratosthenesIntArray implementation, renaming it to SieveOfEratosthenes, removed the boolean implementation, and wrote tests for the same. Apart from that, I've also added comments to conform to the algorithm comment standards.