HarshCasper / NeoAlgo

Bringing all Data Structures and Algorithms under one Roof âš¡
MIT License
877 stars 1.05k forks source link

Find the duplicates from an array in C++ #3517

Closed RaiyanMahin closed 3 years ago

RaiyanMahin commented 3 years ago

🚀 Feature

Given an array of N elements , find all duplicate elements from it. In Competitive Programming, some times we need to do this to solve our problem.

Have you read the Contributing Guidelines on Pull Requests?

YES.

Motivation

As a GSSOC'21 participant I would like to contribute to this project.

Pitch

Given an array of N elements, each element's occurrence in the array can be more than once. Find all elements whose occurrence is more than 1. Formally find all duplicate elements of the array. This can be done with the help of map and set data structure.

github-actions[bot] commented 3 years ago

Hello @RaiyanMahin,
Thank you for opening an issue. :partying_face:
To get assigned to this particular issue please use /assign
Check this guide before contributing.

RaiyanMahin commented 3 years ago

/assign

github-actions[bot] commented 3 years ago

This issue has been assigned to @RaiyanMahin! It will become unassigned if it isn't closed within 21 days. A maintainer can also add the pinned label to prevent it from being unassigned.

RaiyanMahin commented 3 years ago

/C++