You are viewing a single comment's thread. Return to all comments →
Later on, you want to use the sorted String as a key for the HashMap.
String.valueOf(chars) creates a String out of the char-Array. It is stored in the variable currentSubString.
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Anagrams
You are viewing a single comment's thread. Return to all comments →
Later on, you want to use the sorted String as a key for the HashMap.
String.valueOf(chars) creates a String out of the char-Array. It is stored in the variable currentSubString.