题目: Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity. 链接: http://leetcode.com/problems/factorial-trailing-zeroes/ 题解: 求n!里有多少个0.其实主要就是看有多少个5,有多少个5就有多少个0,这样我们就可以用一个while循环来搞定.…