Skip to content

Commit e1869ec

Browse files
committed
chore: remove unnecessary comment
1 parent 1ddd661 commit e1869ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/thealgorithms/maths/Factorial.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ public static BigInteger factorial(int n) {
2323
return factorial;
2424
}
2525
}
26+
// now can canculate the factorial of large numbers without worrying about overflow, as BigInteger can handle arbitrarily large integers.

0 commit comments

Comments
 (0)