We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1bf342 commit 8eb54b5Copy full SHA for 8eb54b5
src/main/java/com/fishercoder/solutions/_249.java
@@ -11,8 +11,8 @@ public class _249 {
11
public static class Solution1 {
12
public List<List<String>> groupStrings(String[] strings) {
13
14
- List<List<String>> result = new ArrayList<List<String>>();
15
- Map<String, List<String>> map = new HashMap<String, List<String>>();
+ List<List<String>> result = new ArrayList<>();
+ Map<String, List<String>> map = new HashMap<>();
16
17
for (String word : strings) {
18
String key = "";
0 commit comments