Skip to content

Commit 97e47f7

Browse files
authored
update Solution
1 parent a39c5be commit 97e47f7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

solution/0242.Valid Anagram/Solution.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,7 @@
22

33
public class Solution {
44

5-
public static void main(String[] args) {
6-
7-
String s = "anagram";
8-
String t = "nagaram";
9-
10-
boolean result = isAnagram(s, t);
11-
System.out.println(result);
12-
}
13-
145
private static boolean isAnagram(String s, String t) {
15-
166
char val1[] = s.toCharArray();
177
char val2[] = t.toCharArray();
188
Arrays.sort(val1);

0 commit comments

Comments
 (0)