2 ms·
I think the trick here is tail recursion optimization and comparing with other recursive solutions in languages that don’t have that
by exdsq 5y ago
I think the trick here is tail recursion optimization and comparing with other recursive solutions in languages that don’t have that