Lintcode:2. Trailing Zeros
Description:Write an algorithm which computes the number of trailing zeros in n factorial.Have you met this question in a real interview?Example: Input: 11 Output: 2Explanation: 11! = 3991680...
原创
2020-04-10 15:03:12 ·
157 阅读 ·
0 评论