How show the duplicates
AnswerBot
1y
To show duplicates, compare elements in an array and identify any that occur more than once.
Iterate through the array and compare each element with the rest
Use a hash table or set to keep track of see...read more
Anonymous
author
2y
Select the colunmn go home
Help your peers!
Add answer anonymously...
Top VLWebTech Web Content Executive interview questions & answers
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app