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
Frequent users of putty should have encountered the Putty (inactive) problem. This happens because servers are usually configured to disconnect idle sessions after they are inactive for a particular t...
分类:
其他好文 时间:
2015-04-19 13:16:21
阅读次数:
208
题目描述Given a binary tree, flatten it to a linked list in-place.For example,
Given
The flattened tree should look like:
本题也是考察二叉树和指针操作的题目。题目要求将一棵二叉树拉平为一个链表 。链表通过树节点的右子树相连,且展开的顺序为原来树的前序遍历。实现思路:
若节点n存...
分类:
其他好文 时间:
2015-04-18 23:48:59
阅读次数:
213
Problem Description Einbahnstra e (German for a one-way street) is a street on which vehicles should only move in one direction. One reason for having one-way streets is to facilitate a smoother flo...
分类:
其他好文 时间:
2015-04-18 14:34:20
阅读次数:
170
题目: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
错误:/usr/local/lib/libcrypto.so.1.0.0: no version information available I suppose I should get right to the point... Problem: libssl.so.1.0.0 and libcrypto.so.1.0.0 no version information availab...
分类:
其他好文 时间:
2015-04-18 11:42:03
阅读次数:
273
As default, the feature AJAX of MOSS2007 is disabled, so the site web configuration file should be modified to enable AJAX to achieve the auto complet...
分类:
Web程序 时间:
2015-04-17 18:05:01
阅读次数:
246
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.***Note**...
分类:
其他好文 时间:
2015-04-17 17:41:25
阅读次数:
94
Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.思路:编程之美里有,就是找因子5的个数。int trail...
分类:
其他好文 时间:
2015-04-17 15:27:58
阅读次数:
106
题目:Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Your al...
分类:
其他好文 时间:
2015-04-17 15:27:16
阅读次数:
100