Amazon Interview Question

Everything was really easy.

Interview Answer

Anonymous

Jan 20, 2014

//Print all the elements in an array that have occurred an odd number of times public void findOddOccurances(String str[]) { //KEY, VALUE Hashtable hash = new Hashtable(); for (int i=0; i