Problem
You want to spell ransom_note using letters cut out of magazine. **Each letter in magazine can be used only once.** Return true if it can be done.
Example 1
- Input
- ransom_note = "a", magazine = "b"
- Output
- false
Example 2
- Input
- ransom_note = "aa", magazine = "ab"
- Output
- false
- Why
- only one a
Example 3
- Input
- ransom_note = "aa", magazine = "aab"
- Output
- true
Constraints
0 <= ransom_note.length, magazine.length <= 10^5Both strings contain only lowercase English letters.