Skip to content

Commit 78a3359

Browse files
samarthswami1016idoocs
authored andcommitted
style: format code and docs with prettier
1 parent 84ae946 commit 78a3359

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

solution/1900-1999/1948.Delete Duplicate Folders in System/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class Solution {
197197
}
198198
}
199199

200-
Map<String, Integer> freq = new HashMap<>();
200+
Map<String, Integer> freq = new HashMap<>();
201201
construct(root, freq);
202202
List<List<String>> ans = new ArrayList<>();
203203
List<String> path = new ArrayList<>();

solution/1900-1999/1948.Delete Duplicate Folders in System/README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class Solution {
176176
}
177177
}
178178

179-
Map<String, Integer> freq = new HashMap<>();
179+
Map<String, Integer> freq = new HashMap<>();
180180
construct(root, freq);
181181
List<List<String>> ans = new ArrayList<>();
182182
List<String> path = new ArrayList<>();

solution/1900-1999/1948.Delete Duplicate Folders in System/solution.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var deleteDuplicateFolder = function (paths) {
22
class Trie {
33
constructor() {
4-
this.serial = "";
4+
this.serial = '';
55
this.children = new Map();
66
}
77
}
@@ -26,7 +26,7 @@ var deleteDuplicateFolder = function (paths) {
2626
v.push(`${folder}(${child.serial})`);
2727
}
2828
v.sort();
29-
node.serial = v.join("");
29+
node.serial = v.join('');
3030
freq.set(node.serial, (freq.get(node.serial) || 0) + 1);
3131
}
3232
construct(root);
@@ -47,4 +47,4 @@ var deleteDuplicateFolder = function (paths) {
4747
operate(root);
4848

4949
return ans;
50-
};
50+
};

0 commit comments

Comments
 (0)