Hi,
- If I have an associative array with elements {1,3,8,6,7,3} and if I want to find the duplicated elements, how many are duplicated and in what indexes, Is there an efficient way to find out rather than comparing all the elements one by one.
- If there is an array like {5,5,2,2,321,567,765,5} - How can I find the duplicate values for this array.
Please let me know if there’s any other way to solve the array duplication problems other than comparing every element.
Thanks in advance.