码迷,mamicode.com
首页 >  
搜索关键字:binary tree upside d    ( 23249个结果)
Application binary interface and method of interfacing binary application program to digital computer
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
Lua2.4 字符串相关 tree.c
Lua 中字符串管理是核心内容之一(另一个当然就是表的管理)。 Lua 脚本中用到的字符串,解析时用到的符号,及一些运行时相关的字符串都保存在全局字符串表中,全局字符串表就是 tree.c 中的 string_root 数组。 ...
分类:其他好文   时间:2014-10-08 16:36:06    阅读次数:278
Algorithm Part I:Priority Queues
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
Unique Binary Search Trees
[leetcode]Given n, how many structurally unique BST's (binary search trees) that store values 1...n?...
分类:其他好文   时间:2014-10-08 12:00:15    阅读次数:159
leetcode - Unique Binary Search Trees II
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example, Given n = 3, your program should return all 5 unique BST's shown below. 1 3 ...
分类:其他好文   时间:2014-10-08 11:52:35    阅读次数:202
leetcode - Binary Tree Inorder Traversal
Given a binary tree, return the inorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,3,2]. /** * Definition for b...
分类:其他好文   时间:2014-10-08 10:45:45    阅读次数:106
Convert Sorted Array to Binary Search Tree
[leetcode]Given an array where elements are sorted in ascending order, convert it to a height balanced BST....
分类:其他好文   时间:2014-10-08 10:09:55    阅读次数:164
Leetcode Path Sum
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ /** * http...
分类:其他好文   时间:2014-10-08 01:05:04    阅读次数:253
LeetCode刷题笔录Add Binary
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".详细一位一位地加即可了,考虑进位的问题。还有最后记得把生成的string反过来再返回,由于我们...
分类:其他好文   时间:2014-10-07 22:22:34    阅读次数:174
poj3321--Apple Tree(多叉树建树状数组)
Apple Tree Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 19425   Accepted: 5923 Description There is an apple tree outside of kaka's house. Every autumn, a...
分类:移动开发   时间:2014-10-07 21:50:04    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!