problem:
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.
Hide Tags
Depth-first Search Linked
List
题意:给定一个递增的单链表,将其转...
分类:
其他好文 时间:
2015-04-23 10:58:24
阅读次数:
165
题目链接:Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.
For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees ...
分类:
其他好文 时间:
2015-04-23 10:58:02
阅读次数:
153
Binary Stirling Numbers
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u
Submit Status Practice POJ
1430
Appoint description:
System Crawler (2015-04-22)
D...
分类:
其他好文 时间:
2015-04-23 09:45:34
阅读次数:
150
problem:
Given inorder and postorder traversal of a tree, construct the binary tree.
Note:
You may assume that duplicates do not exist in the tree.
Hide Tags
Tree Array Depth-first...
分类:
其他好文 时间:
2015-04-23 09:35:14
阅读次数:
157
求二叉树深度。【思路】很简单,二叉树经典。用递归求左树右树的深度,较大值加1即可。【other code】int maxDepth(TreeNode *root) { if(root==NULL) return 0; //if(maxDepth(ro...
分类:
其他好文 时间:
2015-04-22 23:53:08
阅读次数:
165
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:
其他好文 时间:
2015-04-22 23:34:04
阅读次数:
201
一、简介 RPM是RedhatPackageManager的缩写,是由RedHat公司开发的软件包安装和管理程序,同Windows平台上的Uninstaller比较类似。使用RPM,用户可以自行安装和管理Linux上的应用程序和系统工具。RPM可以让用户直接以binary方式安装软件包,并且可替用户...
分类:
系统相关 时间:
2015-04-22 23:30:39
阅读次数:
183
为windbg 安装mona
主要是提供下载链接,方便将来重新安装虚拟机。...
分类:
数据库 时间:
2015-04-22 22:23:16
阅读次数:
604
将mdv数据转换为binary数据,以结构体的形式存放在文件中/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
xiu
2015.4.8 10:00
use the body structure, put the mdv format data radar and vdras , in a binary file.
*=*=*=*=...
分类:
其他好文 时间:
2015-04-22 22:20:15
阅读次数:
165
1 题目Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identica...
分类:
其他好文 时间:
2015-04-22 22:06:33
阅读次数:
189