码迷,mamicode.com
首页 >  
搜索关键字:binary tree    ( 23211个结果
三十七、git diff简介
原文: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
Binary Tree Preorder Traversal
class Solution{public: vectorpreorderTraversal(TreeNode *root) { vectorpreOrder; Traversal(root,preOrder); return preOrder; } stack st;private: voi...
分类:其他好文   时间:2014-07-03 10:10:24    阅读次数:165
Innodb加载数据字典 && flush tables
测试了两个case,属于之前blog的遗留问题: innodb如何加载数据字典 flush tables都做了什么操作先来看下innodb加载数据字典: 首次使用:select * from tt;1. 创建handler对象函数调用栈: open_binary_frm ...
分类:数据库   时间:2014-07-03 06:21:07    阅读次数:318
Leetcode Binary Tree Inorder Traversal
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
Leetcode Path Sum
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
extjs tree check 级联选择
extjs4 tree check 级联选择实现效果:关键代码:function changeAllNode(node, isCheck) { allChild(node, isCheck); allParent(node, isCheck); function allChild(...
分类:Web程序   时间:2014-07-01 16:11:24    阅读次数:200
UVa 575 Skew Binary 歪斜二进制
呵呵,这个翻译还是很直白的嘛,大家意会就好。第一次看到这个高大上题目还是有点小害怕的,还好题没有做过深的文章。只要按照规则转化成十进制就好了,而且题目本身也说了最大不超过一个int的范围(2^31-1 ==2147483647)。直接位运算就好了。Skew BinaryWhen a number i...
分类:其他好文   时间:2014-07-01 10:13:16    阅读次数:219
关于curl: (2) Failed Initialization
一开始是因为curl无法访问https网上说,要重新编译安装curl 我就下载.. ./configure make make install 结果出现 curl: (2) Failed Initialization 好吧,我整个人都跪了. 满世界找原因... 找到这个  It means that the curl binary is picking ...
分类:其他好文   时间:2014-07-01 08:07:03    阅读次数:545
Flatten Binary Tree to Linked List
题目 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
Binary Tree Preorder Traversal
题目 Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,2,3]. Note: Recu...
分类:其他好文   时间:2014-07-01 07:06:56    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!