Skip to content

Commit da70c71

Browse files
refactor 383
1 parent c506fd9 commit da70c71

File tree

1 file changed

+0
-15
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-15
lines changed

src/main/java/com/fishercoder/solutions/_383.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
package com.fishercoder.solutions;
22

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-
*/
183
public class _383 {
194

205
public static class Solution1 {

0 commit comments

Comments
 (0)