We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c506fd9 commit da70c71Copy full SHA for da70c71
src/main/java/com/fishercoder/solutions/_383.java
@@ -1,20 +1,5 @@
1
package com.fishercoder.solutions;
2
3
-/**
4
- * 383 Ransom Note
5
- *
6
- * Given an arbitrary ransom note string and another string containing letters
7
- * from all the magazines, write a function that will return true if
8
- * the ransom note can be constructed from the magazines ; otherwise, it will return false.
9
- * Each letter in the magazine string can only be used once in your ransom note.
10
-
11
- Note:
12
13
- You may assume that both strings contain only lowercase letters.
14
- canConstruct("a", "b") -> false
15
- canConstruct("aa", "ab") -> false
16
- canConstruct("aa", "aab") -> true
17
-*/
18
public class _383 {
19
20
public static class Solution1 {
0 commit comments