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

JavaScript and C++ remove duplicates algorithm #355

Merged
merged 8 commits into from
Oct 17, 2019

Conversation

jagw1re
Copy link
Contributor

@jagw1re jagw1re commented Oct 4, 2019

Please describe your program and how to run it.

This is a JavaScript one liner as a solution to #323 . It works by converting to a set which effectively removes duplicates. To run it, paste the code in the browser console.


What Programming Language?

JavaScript
C++

wzhouwzhou
wzhouwzhou previously approved these changes Oct 4, 2019
@wzhouwzhou wzhouwzhou added hacktoberfest-accepted Hacktoberfest! Lang: Javascript Contributions made in Javascript labels Oct 4, 2019
@kannagikazuko kannagikazuko added the Lang: C++ Contributions made in C Plus Plus label Oct 17, 2019
@kannagikazuko kannagikazuko changed the title JavaScript remove duplicates algorithm JavaScript and C++ remove duplicates algorithm Oct 17, 2019
@kannagikazuko kannagikazuko merged commit fed2877 into wzhouwzhou:master Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Hacktoberfest! Lang: C++ Contributions made in C Plus Plus Lang: Javascript Contributions made in Javascript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants