码迷,mamicode.com
首页 >  
搜索关键字:binary tree zigzag l    ( 23541个结果
Android4.0设置界面修改总结(四)
之前有跟大家分享设置Tab风格和Item圆角的实现,希望能给有需要的朋友一点点帮助,今天再和大家分享一下用ViewPager实现设置分页,小米和OPPO就是这样的设置,先来看看效果图:   为了帮助大家更清晰的理解,我单独拿出一个小例子,有需要的朋友可以下载下来看看: http://git.oschina.net/way/SettingTab/tree/master 其实要实现...
分类:移动开发   时间:2014-06-19 12:14:21    阅读次数:439
LeetCode——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 of every node never diffe...
分类:其他好文   时间:2014-06-19 11:23:05    阅读次数:204
A Star not a Tree?
给n个点,求费马点到各点的距离和...
分类:其他好文   时间:2014-06-19 10:07:42    阅读次数:224
LeetCode:Path Sum II
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5 ...
分类:其他好文   时间:2014-06-15 19:55:39    阅读次数:191
LeetCode——Symmetric Tree
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric: 1 / 2 2 / \ / 3 4 4 3 But the f...
分类:其他好文   时间:2014-06-15 19:49:35    阅读次数:176
【Leetcode】Binary Tree Postorder Traversal
Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [3,2,1]. Note: Recursive solut...
分类:其他好文   时间:2014-06-15 19:06:52    阅读次数:166
导出Excel2 - 项目分解篇
接上一篇《导出Excel1 - 项目分解篇》,介绍3个子过程。       1. treeADO           说明:把数据表字段转化为Tree结构                     声明:procedure treeADO(adoDataSetX:TADODataSet;tvTemplate1:TTreeView);          实现: proced...
分类:其他好文   时间:2014-06-15 15:45:40    阅读次数:182
论C/C++数据在内存中的二进制存放形式
// enter any type data to show Binary.c // 输入任意类型数据转换成二进制 // version: 1.0 // date: 2014.6.12 // BUG提交: yinjunwithu@outlook.com // 缺陷: 请勿使用vc 6.0编译 因为不支持long long及unsigned long long类型 // #define _CRT_...
分类:编程语言   时间:2014-06-15 09:44:48    阅读次数:414
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. For example: Given the below bin...
分类:其他好文   时间:2014-06-15 09:34:35    阅读次数:226
leetcode -day28 Unique Binary Search Trees I II
1、 ?? 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 uni...
分类:其他好文   时间:2014-06-15 09:09:00    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!