We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49b4918 commit e941184Copy full SHA for e941184
ReadMe.txt
@@ -7,7 +7,7 @@ and hence save memory.
7
8
For each read word read from the file, I first sort the word, remove spaces and then I check if the HashMap has an entry for this string.
9
If the Map has an entry, i.e. the dictionary had anagrams of this string, I return the List of anagrams (not displaying duplicates),
10
-else I return 'Does not exist'.
+else I return 'Does not exist'. I also checked for some bizarre characters from other languages, to see if my program can read the characters.
11
12
As Wikipedia says, I took care of spaces as well, as spaces should not be considered in anagrams, so words like 'New York', 'YORK NEW',
13
'NEWYORK', 'newyork', 'yronekw' will all be anagrams of each other. So I took this into account too.
0 commit comments