Skerritt.blog
  • Home
  • Start Here
  • YouTube
Sign in Subscribe

counters

A collection of 1 post
383. Ransom Note
grind75

383. Ransom Note

Problem Given two strings ransomNote and magazine, return true if ransomNote can be constructed by using the letters from magazine and false otherwise. Each letter in magazine can only be used once in ransomNote. Example 1: Input: ransomNote = "a", magazine = "b" Output: false Example 2: Input:
05 Jan 2023 1 min read
Page 1 of 1
Skerritt.blog © 2025
  • Sign up
Powered by Ghost