Skip to content

Commit f312cdb

Browse files
committed
update
1 parent e1869ec commit f312cdb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

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

0 commit comments

Comments
 (0)