Skip to content

Commit 074ba40

Browse files
AE-Hertzidoocs
authored andcommitted
style: format code and docs with prettier
1 parent cd8dc69 commit 074ba40

File tree

1 file changed

+1
-2
lines changed
  • solution/0900-0999/0959.Regions Cut By Slashes

1 file changed

+1
-2
lines changed

solution/0900-0999/0959.Regions Cut By Slashes/Solution.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
function regionsBySlashes(grid) {
7-
const find = (x) => {
7+
const find = x => {
88
if (p[x] !== x) {
99
p[x] = find(p[x]);
1010
}
@@ -48,5 +48,4 @@ function regionsBySlashes(grid) {
4848
}
4949

5050
return size;
51-
5251
}

0 commit comments

Comments
 (0)