You are viewing a single comment's thread. Return to all comments →
Great solution, well done, I enjoyed it. Only improvement I can think of is to make first and second strings lowercase before any processing is done.
first = first.toLowerCase(); second = second.toLowerCase();
Seems like cookies are disabled on this browser, please enable them to open this website
Strings: Making Anagrams
You are viewing a single comment's thread. Return to all comments →
Great solution, well done, I enjoyed it. Only improvement I can think of is to make first and second strings lowercase before any processing is done.