Ad
  • Custom User Avatar

    You are using a recursive solution (a method that calls itself). It says in the description that this will fail for large values, and the challenge is to solve the factorial problem without using recursion.

  • Default User Avatar

    Compilation bugs. For example, before this soulution was accepted, I had to add
    "print result" before return