You are viewing a single comment's thread. Return to all comments →
You can use some Java 8 features like
for(String s : magazineWords){ map.merge(s, 1, Integer::sum); }
Seems like cookies are disabled on this browser, please enable them to open this website
Hash Tables: Ransom Note
You are viewing a single comment's thread. Return to all comments →
You can use some Java 8 features like