- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 Bit Manipulation
number of 1 bits:https://leetcode.com/problems/number-of-1-bits/ n &= n - 1; 一次可以去掉一个1,记录到 n == 0 执行的次数 Missing Number:https://leetcode.com/problems/missing-number/ 将0 ~ N和所有的元素XOR Sin
2015-12-12 00:57:37 319
原创 Easy题目总结
正常技巧题 implement queue using stack:https://leetcode.com/problems/implement-queue-using-stacks/ 用两个stack,stack1储存queue,stack2暂时储存stack1所pop出的数据,然后再pop stack2将数据push回stack1 binary tree level or
2015-12-08 06:27:00 450
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人