Ransom Note

Try to solve the Ransom Note problem.

Statement

Given two strings, ransomNote and magazine, check if ransomNote can be constructed using the letters from magazine. Return TRUE if it can be constructed, FALSE otherwise. ...

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy