摘要:
这同样也是一道LeetCode Online Judge上面的题目,属于easy级别,原题如下:题目 Given an array of sizen, find the majority element. The majority element is the element that app... 阅读全文
摘要:
Given an integern, return the number of trailing zeroes inn! 这是LeetCode Online Judge上的一个原题:给定一个n,求n!中,末尾0的个数。思路n!中0的个数,可以将n!表示成 n!=m*10k,其中k就是题目要求的... 阅读全文