in reply to Finding maximum number of duplicates in an array

Hi Monkers,

Hello

Is there a way to find the element that has maximum number of duplicates in an array?

An element that has duplicates , in an array? Arrays are full of elements ... but what is an element that has duplicates? Duplicates of what?

or should i loop to check for the maximum one? Thanks

Yes, looping will be a part of any solution

  • Comment on Re: Finding maximum number of duplicates in an array