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

Commit b6ca694

Browse files
authored
Update Solution.java
1 parent f20932d commit b6ca694

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎solution/0500-0599/0500.Keyboard Row/Solution.java‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import java.util.ArrayList;
2-
3-
public class Solution {
1+
class Solution {
42

53
public String[] findWords(String[] words) {
64
if (words == null) {
@@ -33,4 +31,4 @@ private boolean match(String keyboard, String word, ArrayList<String> list) {
3331
}
3432
return true;
3533
}
36-
}
34+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /