Content deleted Content added
Friedlemon (talk | contribs) |
→Recursion versus iteration: The two pseudocode examples here weren't equivalent. I've corrected the iterative one to match the recursive one. It was looping one too many times, and in the wrong order. |
||
Line 674:
function iterative(n)
x = x<sub>base</sub>
for i =
x = f(i, x)
return x
|