原文:http://web.mit.edu/~mkgray/project/silk/root/afs/sipb/project/git/git-doc/git-diff.htmlgit diff可以比较working tree同index之间,index和git directory之间,worki...
分类:
其他好文 时间:
2014-07-03 10:49:30
阅读次数:
361
class Solution{public: vectorpreorderTraversal(TreeNode *root) { vectorpreOrder; Traversal(root,preOrder); return preOrder; } stack st;private: voi...
分类:
其他好文 时间:
2014-07-03 10:10:24
阅读次数:
165
1、在需要取得formhash的页面加入下面js代码,还需要jquery库。2、在search.php修改最后面部分,if(trim($_GET['hash']) && !empty($_GET['hash'])){ die($_GET['jsoncallback'] . '(' . json_en...
分类:
其他好文 时间:
2014-07-03 09:43:10
阅读次数:
333
2014-7-1 应用在某内网应用排序管理页面跳转:function goSortManage() { var name = 'TypeID'; var TypeID = "0"; var url = location.search; //获取url中"?"符后的字串 var theRequest....
分类:
Web程序 时间:
2014-07-03 00:43:57
阅读次数:
299
Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note...
分类:
其他好文 时间:
2014-07-02 22:49:05
阅读次数:
249
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.Fo...
分类:
其他好文 时间:
2014-07-02 22:34:44
阅读次数:
318
来源:http://ss64.com/osx/An A-Z Index of theApple OS Xcommand line alias Create an alias ? alloc List used and free memory apropos Search t...
分类:
移动开发 时间:
2014-07-01 17:46:48
阅读次数:
384
extjs4 tree check 级联选择实现效果:关键代码:function changeAllNode(node, isCheck) { allChild(node, isCheck); allParent(node, isCheck); function allChild(...
分类:
Web程序 时间:
2014-07-01 16:11:24
阅读次数:
200
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array....
分类:
其他好文 时间:
2014-07-01 15:22:44
阅读次数:
140
题目
Given a binary tree, flatten it to a linked list in-place.
For example,
Given
1
/ 2 5
/ \ 3 4 6
The flattened tree should look lik...
分类:
其他好文 时间:
2014-07-01 08:03:10
阅读次数:
127