Synthesis Interview Question

Factorial algorithm using recursion and iteration