2 ms·
> that is not exponential, that is actually factorial, which is superexponential Fair point; I should have given: whoops(n): if(!n) return for i in
by a1369209993 7y ago
> that is not exponential, that is actually factorial, which is superexponential
Fair point; I should have given:
whoops(n):
if(!n) return
for i in 2: whoops(n-1)
I think it's clear that it is "trivial to go exponential", though. And for that matter, also trivial to go superexponential apparently.