Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dozzie
· 12y ago · 0 comments
First he should implement it properly, remembering last two values at any time. His way is just plain outrageous.
Comments
[–]
rjoshi
12y ago
Here the comparison is not about the algorithm, but language with similar recursion logic.
[–]
dozzie
OP
12y ago
Then he should have used appropriate function to calculate, Ackermann for instance.