You are viewing a single comment's thread. Return to all comments →
This is even more concise :D map.merge(currentSubString, 1, Integer::sum)
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 →
This is even more concise :D map.merge(currentSubString, 1, Integer::sum)