-
-
Notifications
You must be signed in to change notification settings - Fork 5.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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
raklaptudirm
merged 8 commits into
TheAlgorithms:master
from
SpiderMath:remove-Eratosthenes-intarray
Jan 12, 2025
Merged
Resolve duplicate entries for sieve of eratosthenes #1770
raklaptudirm
merged 8 commits into
TheAlgorithms:master
from
SpiderMath:remove-Eratosthenes-intarray
Jan 12, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...derMath/JavaScript_TheAlgorithms into remove-Eratosthenes-intarray
@SpiderMath
SpiderMath
requested review from
raklaptudirm and
appgurueu
as code owners
January 8, 2025 09:08
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
commented
Jan 8, 2025
Codecov Report
All modified and coverable lines are covered by tests ✅
Project coverage is 85.09%. Comparing base (
85a55da
) to head (fcd636a
).
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.
📢 Have feedback on the report? Share it here.
anandfresh
anandfresh
approved these changes
Jan 10, 2025
raklaptudirm
raklaptudirm
approved these changes
Jan 10, 2025
@raklaptudirm
raklaptudirm
merged commit Jan 12, 2025
a62a46e
into
TheAlgorithms:master
3 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: #1666
Open in Gitpod know more
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.