You are viewing a single comment's thread. Return to all comments →
"def checkMagazine(magazine, note): count_mag = Counter(magazine) count_note = Counter(note) for word in count_note.keys(): if word not in count_mag.keys() or count_note[word] > count_mag[word]: print(""No"") return print(""Yes"") "
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 →