Skip to content

Commit e941184

Browse files
committed
Update ReadMe.txt
1 parent 49b4918 commit e941184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReadMe.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and hence save memory.
77

88
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.
99
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'.
10+
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.
1111

1212
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',
1313
'NEWYORK', 'newyork', 'yronekw' will all be anagrams of each other. So I took this into account too.

0 commit comments

Comments
 (0)