SOLUTE Interview Question

Write a recursive solution to calculate a factorial.