Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita3a89ab

Browse files
refactor 242
1 parenta7ef2e1 commita3a89ab

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎src/main/java/com/fishercoder/solutions/_242.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
publicclass_242 {
2121

22-
publicstaticclassSortingSolution {
22+
publicstaticclassSolution1 {
2323
publicbooleanisAnagram(Strings,Stringt) {
2424
char[]schar =s.toCharArray();
2525
char[]tchar =t.toCharArray();
@@ -29,7 +29,7 @@ public boolean isAnagram(String s, String t) {
2929
}
3030
}
3131

32-
publicstaticclassCountingSolution {
32+
publicstaticclassSolution2 {
3333
publicbooleanisAnagram(Strings,Stringt) {
3434
if (s ==null ||t ==null ||s.length() !=t.length()) {
3535
returnfalse;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp