Klarna Interview Question

Write algorithm for Factorial, what is good about the solution, is it scalable, could it cause method stack overflow