What is the goal of Ransom Note?
Practice this question from Ransom Note - Character Availability Pattern Practice Quiz, with options and an explanation.
Question
What is the goal of Ransom Note?
Option A — Correct answer
Check whether ransomNote can be built from magazine characters.
Option B
Reverse a linked list only
Option C
Compute tree height only
Option D
Sort characters alphabetically
Explanation
Check whether ransomNote can be built from magazine characters.