- 博客(2)
- 收藏
- 关注
原创 136 single number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using e
2015-01-07 22:40:58 191
原创 LeetCode 172 Factorial Trailling Zeros
Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity. 思路:算出前n个数分解质因数后的5的幂的次数和 class Solution { public: int trai
2015-01-07 16:12:06 320
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人