TheAlgorithms / C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://thealgorithms.github.io/C-Plus-Plus
MIT License
30.03k stars 7.1k forks source link

Create UniqueAlgo #2624

Closed Saloni899 closed 9 months ago

Saloni899 commented 11 months ago

Here i give an algorithm for remove consecutive duplicate elements from a range (e.g., a container like a std::vector) and return an iterator pointing to the new end of the range.

Description of Change

Checklist

Notes:

github-actions[bot] commented 10 months ago

This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 9 months ago

Please ping one of the maintainers once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!