Andesa Services interview question

Write a recursive method that returns Factorial (n).