- 博客(5)
- 资源 (4)
- 收藏
- 关注
转载 欢迎使用CSDN-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦: Markdown和扩展Markdown简洁的语法 代码块高亮 图片链接和图片上传 LaTex数学公式 UML序列图和流程图 离线写博客 导入导出Markdown文件 丰富的快捷键 快捷键 加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2016-07-18 07:11:26 425
原创 container_of学习
container_of学习定义定义1:#define container_of(ptr, type, member) ({ \ const typeof(((type *)0)->member) * __mptr = (ptr); \ (type *)((char *)__mptr - ((unsigned long) &((type *)0)->member)
2016-07-15 08:16:45 1103
原创 374. Guess Number Higher or Lower
题目1We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you guess wrong, I’ll tell you whether the number is higher
2016-07-15 07:35:49 672
原创 146. LRU Cache
题目Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be positive) of the key if th
2016-07-11 08:07:54 470
原创 371. Sum of Two Integers
题目1Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example: Given a = 1 and b = 2, return 3. Credits: Special thanks to @fujiaozhu for adding this prob
2016-07-11 07:08:27 341
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人