You are viewing a single comment's thread. Return to all comments →
map.merge(currentSubString, 1, (a,b) -> a + b)
I think this is most concise.
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 →
map.merge(currentSubString, 1, (a,b) -> a + b)
I think this is most concise.