โ† MAQ Software questions
CodingEasy

Factorial of a number using recursion

Filed under MAQ Software

Given a non-negative integer `n`, compute its factorial (n!) using recursion. The factorial of 0 is defined as 1, and for n > 0, n! = n * (n - 1)!.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MAQ Software questions

Collected from public candidate posts and coding forums. Updated Nov 2026.