Problem Description
A binary tree is a finite set of vertices that is either empty or consists of a root r and two disjoint binary trees called the left and right subtrees. There are three most impor...
分类:
其他好文 时间:
2014-10-09 16:32:58
阅读次数:
176
[leetcode]Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center)....
分类:
其他好文 时间:
2014-10-09 15:33:58
阅读次数:
193
Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. 1.....
分类:
编程语言 时间:
2014-10-09 14:37:53
阅读次数:
215
以下是我习惯的vim配置,做个记录~_~" 文件编码set fileencoding=utf-8set encoding=utf-8set termencoding=utf-8" 开启语法高亮syntax enable" 防止在文件末尾追加换行符set noendoflineset binary"....
分类:
其他好文 时间:
2014-10-09 14:00:03
阅读次数:
161
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:
其他好文 时间:
2014-10-09 13:16:43
阅读次数:
179
#include #include #include void binary_num(int, int);int main( int argc, char* argv[] ) { int a = 30; binary_num(a, sizeof(a) * 8); print...
分类:
其他好文 时间:
2014-10-09 01:27:27
阅读次数:
204
Custom ViewErrorsE1 在使用自定义CustomView时,出现以下runtime error:Android.View.InflateException: Binary XML File Line #LineNumberSolution: 自定义的View 子类(例如,类名为: F...
分类:
移动开发 时间:
2014-10-09 01:22:27
阅读次数:
248
An application binary interface includes linkage structures for interfacing a binary application program to a digital computer. A function in a reloca...
分类:
移动开发 时间:
2014-10-08 16:41:45
阅读次数:
302
1.binary heap的实现
BinaryHeap.h
#ifndef BINARYHEAP_H
#define BINARYHEAP_H
class BinaryHeap
{
public:
BinaryHeap(int N);
bool isEmpty();
void exchange(int i,int j);
...
分类:
其他好文 时间:
2014-10-08 16:22:45
阅读次数:
260
[leetcode]Given n, how many structurally unique BST's (binary search trees) that store values 1...n?...
分类:
其他好文 时间:
2014-10-08 12:00:15
阅读次数:
159