Search
⌘K

Leetcode 383. Ransom Note

Determine whether ransomNote can be formed from magazine by verifying that for every character, magazine contains at least as many occurrences as needed — i.e., compare character frequency counts since each magazine letter can be used only once.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.