Skip to content

Commit c4eb8b7

Browse files
committed
Runtime: 131 ms (Top 30.56%) | Memory: 46 MB (Top 85.19%)
1 parent d5fe9e7 commit c4eb8b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/P/Partition Array Into Three Parts With Equal Sum/Partition Array Into Three Parts With Equal Sum.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 131 ms (Top 30.56%) | Memory: 46 MB (Top 85.19%)
12
var canThreePartsEqualSum = function(arr) {
23
const length = arr.length;
34
let sum =0, count = 0, partSum = 0;
@@ -16,4 +17,4 @@ var canThreePartsEqualSum = function(arr) {
1617
}
1718
}
1819
return false;
19-
};
20+
};

0 commit comments

Comments
 (0)