I having a problem with coding this:
Write a static method named removeDuplicates that takes as input an array of integers and returns as a result a new
removeDuplicates
To Preserve the ordering and to remove duplicates in the integer array, you can try this:
public void removeDupInIntArray(int[] ints){ Set setString = new LinkedHashSet(); for(int i=0;i
Hope this helps.