开始 134出现主从1206错误Last_IO_Errno: 1236Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to star...
分类:
数据库 时间:
2015-12-13 17:05:11
阅读次数:
228
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.Subscribe to s...
分类:
其他好文 时间:
2015-12-13 15:19:08
阅读次数:
178
Invert Binary TreeTotal Accepted:54994Total Submissions:130742Difficulty:EasyInvert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4...
分类:
其他好文 时间:
2015-12-13 12:31:48
阅读次数:
128
题目链接: http://www.lintcode.com/zh-cn/problem/binary-tree-zigzag-level-order-traversal/二叉树的锯齿形层次遍历 给出一棵二叉树,返回其节点值的锯齿形层次遍历(先从左往右,下一层再从右往左,层与层之间交替进行)样例 .....
分类:
其他好文 时间:
2015-12-13 02:10:17
阅读次数:
151
Same TreeTotal Accepted:97481Total Submissions:230752Difficulty:EasyGiven two binary trees, write a function to check if they are equal or not.Two bin...
分类:
其他好文 时间:
2015-12-12 21:42:21
阅读次数:
152
Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.According to the definition of LCA on Wikipedia: “The lowest...
分类:
其他好文 时间:
2015-12-12 16:55:35
阅读次数:
186
Total Accepted:98729Total Submissions:261539Difficulty:MediumGiven a binary tree, return theinordertraversal of its nodes' values.For example:Given bi...
分类:
其他好文 时间:
2015-12-12 01:40:02
阅读次数:
140
Total Accepted:97599Total Submissions:257736Difficulty:MediumGiven a binary tree, return thepreordertraversal of its nodes' values.For example:Given b...
分类:
其他好文 时间:
2015-12-12 01:39:55
阅读次数:
146
题目链接: 不同的二叉查找树:http://www.lintcode.com/zh-cn/problem/unique-binary-search-trees/ 不同的二叉查找树 II:http://www.lintcode.com/zh-cn/problem/unique-binary-sea.....
分类:
其他好文 时间:
2015-12-12 01:36:26
阅读次数:
345
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.
According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined
betw...
分类:
其他好文 时间:
2015-12-11 10:08:34
阅读次数:
137