-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Created duplicate remover oneliner #326
Conversation
It's spaghetti code, but its a one line wonder
I think the {} around the for loop blocks are optional which qualifies this as actually a one-liner! |
Yep, you're right! I've updated it to reflect that change :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you'd like, feel free to add your bio to CONTRIBUTORS.md!
Done! Want me to close this request? |
Not yet, we still need to merge it, decide about move it into a dedicated folder for unique_array, etc, but I'll take it from here, thanks! |
No worries! |
I created a JavaScript solution, so I'll create a new PR instead |
This reverts commit b90d291.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Solution to issue #323
Please describe your program and how to run it.
The program removes duplicates from a given array and outputs it, in one line (excluding variables).
What Programming Language?
C++