← Amazon questions

Check if ransom note can be constructed from magazine text

Filed under Amazon

Given a magazine string and a ransom note string, determine if the ransom note can be constructed by using the letters from the magazine. Each letter in the magazine can only be used once.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.