Diamond Diagnostics Interview Question

Factorial recursion question.