We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c083161 commit 00d363cCopy full SHA for 00d363c
scripts/algorithms/P/Powerful Integers/Powerful Integers.js
@@ -1,3 +1,4 @@
1
+// Runtime: 114 ms (Top 36.00%) | Memory: 41.5 MB (Top 100.00%)
2
var powerfulIntegers = function(x, y, bound) {
3
let ans = new Set()
4
for (let xi = 1; xi < bound; xi *= x) {
@@ -8,4 +9,4 @@ var powerfulIntegers = function(x, y, bound) {
8
9
if (x === 1) break
10
}
11
return Array.from(ans)
-}
12
+}
0 commit comments