/**
   This program tests the 3rd duplicate remover algorithm by removing
   duplicates in an array that is filled with random numbers.
*/
public class DuplicateRemove3Tester
{  
   public static void main(String[] args)
   {  
      int[] a = ArrayUtil.randomIntArray(20, 100);
      ArrayUtil.print(a);

      DuplicateRemover3 remover = new DuplicateRemover3(a);
      remover.removeDups();

      ArrayUtil.print(a, remover.size);
   }
}

   
