摘要:
Majority Element I 描述 给定一个整型数组,找出主元素,它在数组中的出现次数严格大于数组元素个数的二分之一。 You may assume that the array is non empty and the majority number always exist in the 阅读全文
摘要:
给定一个整数n,返回n!(n的阶乘)的尾随零的个数。 class Solution { public: / @param n: a integer @return: return a integer / int trailingZeroes(int n) { // write your code h 阅读全文