码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
HDU 5375 Gray code(模拟)
Gray code Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 65    Accepted Submission(s): 35 Problem Description The reflected binary...
分类:其他好文   时间:2015-08-11 18:40:38    阅读次数:109
Mac OSX下搭建OpenGL超级宝典5(蓝宝书)开发环境(运行第一个三角形程序)
1.下载OpenGL超级宝典5(蓝宝书)的资源,链接如下:http://pan.baidu.com/s/1c02PtYC,解压得到SB5文件夹,里面有书籍的课程源码以及GLTools库。2.依次点击Xcode-->Preferences-->Locations-->Sources Trees,再点“...
分类:系统相关   时间:2015-08-11 18:27:31    阅读次数:886
LeetCode:Maximus Square(DP)
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr...
分类:其他好文   时间:2015-08-11 18:23:52    阅读次数:95
PAT 1043. Is It a Binary Search Tree (25)
1043. Is It a Binary Search Tree (25)A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left su...
分类:其他好文   时间:2015-08-11 16:00:59    阅读次数:119
[CareerCup] 5.2 Binary Representation of Real Number 实数的二进制表示
5.2 Given a real number between 0 and 1 (e.g., 0.72) that is passed in as a double, print the binary representation. If the number cannot be represent...
分类:其他好文   时间:2015-08-11 15:57:26    阅读次数:122
Binary Tree Zigzag Level Order Traversal
Binary Tree Zigzag Level Order Traversal Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alte...
分类:其他好文   时间:2015-08-11 12:14:03    阅读次数:108
UVA 699 The Falling Leaves (二叉树水题)
本文纯属原创,转载请注明出处,谢谢。http://blog.csdn.net/zip_fan。 Description Each year, fall in the North Central region is accompanied by the brilliant colors of the leaves on the trees, followed quickly by...
分类:其他好文   时间:2015-08-11 10:09:45    阅读次数:129
【LeetCode-面试算法经典-Java实现】【110-Balanced Binary Tree(平衡二叉树)】
【110-Balanced Binary Tree(平衡二叉树)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree, determine if it is height-balanced.   For this problem, a height-balanced binary tree is defined as a binary...
分类:编程语言   时间:2015-08-11 08:34:51    阅读次数:252
【LeetCode-面试算法经典-Java实现】【112-Path Sum(路径和)】
【112-Path Sum(路径和)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  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...
分类:编程语言   时间:2015-08-11 08:34:13    阅读次数:147
【LeetCode-面试算法经典-Java实现】【111-Minimum Depth of Binary Tree(二叉树的最小深度)】
【111-Minimum Depth of Binary Tree(二叉树的最小深度)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree, find its minimum depth.   The minimum depth is the number of nodes along the shortest path from t...
分类:编程语言   时间:2015-08-11 08:33:30    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!