We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec11ab6 commit 7444378Copy full SHA for 7444378
scripts/algorithms/C/Count Primes/Count Primes.js
@@ -1,3 +1,4 @@
1
+// Runtime: 439 ms (Top 90.04%) | Memory: 82.1 MB (Top 91.87%)
2
function makeSieve(n) {
3
let arr = new Array(n+1)
4
arr[0] = false;
@@ -25,4 +26,4 @@ function makeSieve(n) {
25
26
var countPrimes = function(n) {
27
let numberOfPrimes = makeSieve(n)
28
return numberOfPrimes;
-};
29
+};
0 commit comments