Morgan Stanley Interview Question

Make a recursive function that computes the factorial of a number.