Create a "ransom note verifier" uses a string "note" and make sure that from a string "magazine" that you can create the note using the letters from the magazine.
Sigiloso
Use a set to store characters in the note, and while iterating through the magazine, remove the character from the set if found. If the set is empty at any point we can make the random note. O(n) where n is the number of characters in the note + the number of characters in the magazine.