- 博客(7)
- 资源 (4)
- 收藏
- 关注
转载 如何设置自己的vim(使之符合自己的使用习惯)
http://blog.csdn.net/huiguixian/article/details/6394095
2015-03-27 10:51:26 342
转载 Factorial Trailing Zeroes
Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity. Credits: Special thanks to @ts for adding this problem and creati
2015-03-21 19:42:10 312
转载 Rotate Array
题目描述: Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. Note: Try to come up as many soluti
2015-03-21 19:08:19 290
转载 LeetCode190——Reverse Bits
http://blog.csdn.net/maojudong/article/details/6235274
2015-03-21 18:30:26 328
转载 UINT8_T / UINT16_T / UINT32_T /UINT64_T 是什么数据类型(转)
在nesc的代码中,你会看到很多你不认识的数据类型,比如uint8_t等。咋一看,好像是个新的数据类型,不过C语言(nesc是C的扩展)里面好像没有这种数据类型啊!怎么又是u又是_t的?很多人有这样的疑问。论坛上就有人问:以*_t结尾的类型是不是都是long型的?在baidu上查一下,才找到答案,这时才发觉原来自己对C掌握的太少。 那么_t的意思到底表示什么?具体的官方答案没有找到,不过我觉
2015-03-21 18:22:58 906
转载 LeetCode-Number of 1 Bits
问题描述 Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight). For example, the 32-bit integer ’11’ has binary representation
2015-03-21 18:04:42 292
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人