Skip to content

Commit 23b15a6

Browse files
committed
Runtime: 247 ms (Top 9.09%) | Memory: 45 MB (Top 68.18%)
1 parent ef58639 commit 23b15a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/algorithms/S/Stone Game II/Stone Game II.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Runtime: 247 ms (Top 9.09%) | Memory: 45 MB (Top 68.18%)
2+
13
var stoneGameII = function(piles) {
24
const length = piles.length;
35
const dp = [...Array(length + 1).fill(null)].map((_) =>
@@ -18,4 +20,4 @@ var stoneGameII = function(piles) {
1820
}
1921
}
2022
return dp[0][1];
21-
};
23+
};

0 commit comments

Comments
 (0)