โ† HSBC questions

Factorial of a Large Number as String

Filed under HSBC

Given a non-negative integer n represented as a string, compute its factorial and return the result as a string. The input can be large enough that the result exceeds standard 64-bit integer limits.

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 HSBC questions

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