This article explains how toset up ftrace and be able to understand how to trace functions. It should be useful for current kernel developers and devi...
分类:
其他好文 时间:
2015-04-19 14:39:55
阅读次数:
228
如题,这话其实是消极的处事方式,和人当时的处境和心情有关,与情绪管理有关,应该试着去管理的情绪,以一种积极的方式把事情办成功了,而不是抛出这么一句话,拍屁股一走了之。每个人的能力是有限的,生活也需要平衡,要量力而行,这个世界没有人逼你,只有你自己,给自己留..
分类:
其他好文 时间:
2015-04-19 06:34:16
阅读次数:
93
题目描述Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:
Given the below binary tree and sum...
分类:
其他好文 时间:
2015-04-18 22:01:55
阅读次数:
136
Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.问题是求N皇后的解,可以采用回溯法解决。 1 clas...
分类:
其他好文 时间:
2015-04-18 17:32:34
阅读次数:
128
The Boy Scout RuleRobert C. Martin (Uncle Bob)THE BOY SCOUTS HAVE A RULE: “Always leave the campground cleaner than you found it.” If you find a mess on the ground, you clean it up regardless of who mi...
分类:
其他好文 时间:
2015-04-18 16:12:38
阅读次数:
174
题目:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two...
分类:
其他好文 时间:
2015-04-18 12:47:09
阅读次数:
145
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?Cra...
分类:
其他好文 时间:
2015-04-18 08:40:30
阅读次数:
106
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Cracking Interview书上原题,快慢指针,如果有环肯定相遇。/** *...
分类:
其他好文 时间:
2015-04-18 08:39:30
阅读次数:
127
SACalendar效果图:IntroducingSACalendar- Easy to use and customizable iOS 7 CalendarSACalendar - 使用非常傻瓜,非常便于定制Only need 3 lines of code to set up. Every v...
分类:
其他好文 时间:
2015-04-17 22:12:17
阅读次数:
175
Wireless NetworkDescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless networ...
分类:
Web程序 时间:
2015-04-17 21:53:30
阅读次数:
156