3 ms·
Exactly. The tail function in the second case is '+' not 'fac' so you can't replace the recursion with iteration
by crististm 6y ago
Exactly. The tail function in the second case is '+' not 'fac' so you can't replace the recursion with iteration