Kohler Co. Interview Question

How to identify two words are anagram?

Interview Answer

Anonymous

Jul 18, 2017

check the length of two words if equal then convert it into char array and sort. finally Array.equals(array1, array2)