Skip to content
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

[OTHER]: Duplicate entry of sieve of eratosthenes #1666

Open
SpiderMath opened this issue May 22, 2024 · 3 comments
Open

[OTHER]: Duplicate entry of sieve of eratosthenes #1666

SpiderMath opened this issue May 22, 2024 · 3 comments
Labels
beginner-friendly Easy to implement chore General improvement

Comments

@SpiderMath
Copy link
Contributor

What would you like to share?

There's three entries in total for Sieve of Eratosthenes on the website, but the problem is that there's a primary one out of the three which has a majority of the implementations, including that of JS. However, there's another one which has just another JS implementation of the exact same thing, and it's named Sieve of Eratosthenes Int Array, which is both a weird name and just a random duplicate entry. Since it only had a JS entry, I wasn't sure if I should open an issue on the website repo or here, hence I thought as this was a JS repo issue I'd open it here.
So, do we remove the duplicate entry from the repository?

Additional information

No response

@SpiderMath SpiderMath added the awaiting triage Awaiting triage from a maintainer label May 22, 2024
@appgurueu
Copy link
Collaborator

I think we can get rid of https://github.com/TheAlgorithms/JavaScript/blob/master/Maths/SieveOfEratosthenesIntArray.js; it is strictly inferior to https://github.com/TheAlgorithms/JavaScript/blob/master/Maths/SieveOfEratosthenes.js (except perhaps for being a bit simpler, at the cost of being less optimized).

@appgurueu appgurueu added beginner-friendly Easy to implement chore General improvement and removed awaiting triage Awaiting triage from a maintainer labels May 23, 2024
@SpiderMath
Copy link
Contributor Author

Since you've added the beginner-friendly tag, do you wish to keep this issue open for any beginners to take it up or should I do it now and push the changes? (considering we only need to remove certain files)

@appgurueu
Copy link
Collaborator

Since you've added the beginner-friendly tag, do you wish to keep this issue open for any beginners to take it up or should I do it now and push the changes? (considering we only need to remove certain files)

Feel free to do it now

SpiderMath added a commit to SpiderMath/Javascript_TheAlgorithms that referenced this issue May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner-friendly Easy to implement chore General improvement
Projects
None yet
Development

No branches or pull requests

2 participants