You are viewing a single comment's thread. Return to all comments →
Can you please explain this sentence boolean notRemovedWord = Arrays.stream(ransom).anyMatch(word->!magazineWords.remove(word));
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 →
Can you please explain this sentence boolean notRemovedWord = Arrays.stream(ransom).anyMatch(word->!magazineWords.remove(word));