Skip to content

Commit 0c69046

Browse files
refactor 500
1 parent 7a591d2 commit 0c69046

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
package com.fishercoder.solutions;
22

3-
43
import java.util.ArrayList;
54
import java.util.Arrays;
65
import java.util.HashSet;
76
import java.util.List;
87
import java.util.Set;
98

109
/**
10+
* 500. Keyboard Row
11+
*
1112
* Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below.
12-
* <p>
13-
* <p>
13+
*
1414
* American keyboard
15-
* <p>
16-
* <p>
15+
*
1716
* Example 1:
1817
* Input: ["Hello", "Alaska", "Dad", "Peace"]
1918
* Output: ["Alaska", "Dad"]
19+
*
2020
* Note:
2121
* You may use one character in the keyboard more than once.
2222
* You may assume the input string will only contain letters of alphabet.

0 commit comments

Comments
 (0)