Find the "number of digits in the factorial of a number" without finding the factorial??
Hint: Algorithm should not take more than O(lg N) where lg = log10
1 year ago
Feel free to contribute, however it will be moderated to curb spams.
Find the "number of digits in the factorial of a number" without finding the factorial??
Hint: Algorithm should not take more than O(lg N) where lg = log10
No comments:
Post a Comment