Skip to content

Commit a84a51d

Browse files
refactor 1002
1 parent ea8d5ff commit a84a51d

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

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

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,6 @@
33
import java.util.ArrayList;
44
import java.util.List;
55

6-
/**
7-
* 1002. Find Common Characters
8-
*
9-
* Given an array A of strings made only from lowercase letters,
10-
* return a list of all characters that show up in all strings within the list (including duplicates).
11-
* For example, if a character occurs 3 times in all strings but not 4 times, you need to include that character three times in the final answer.
12-
*
13-
* You may return the answer in any order.
14-
*
15-
* Example 1:
16-
* Input: ["bella","label","roller"]
17-
* Output: ["e","l","l"]
18-
*
19-
* Example 2:
20-
* Input: ["cool","lock","cook"]
21-
* Output: ["c","o"]
22-
*
23-
* Note:
24-
* 1 <= A.length <= 100
25-
* 1 <= A[i].length <= 100
26-
* A[i][j] is a lowercase letter
27-
*/
286
public class _1002 {
297
public static class Solution1 {
308
public List<String> commonChars(String[] A) {

0 commit comments

Comments
 (0)