Use BigInteger to prevent overflow in factorial calculation (#7358)
* Use BigInteger to prevent overflow in factorial calculation * chore: remove unnecessary comment * update * Fix: improve factorial implementation and formatting * test: final fix for FactorialTest logic and formatting * chore: final formatting and test fix for BigInteger * chore: final formatting and test fix for BigInteger
V
Vansh Sharma committed
9729e56fc7b54197460ee449d94d33284c68d7aa
Parent: 635d54a
Committed by GitHub <noreply@github.com>
on 4/1/2026, 11:55:29 AM