码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
Java数据结构四之——二叉树的前、中、后序遍历
程序来自Program Creek前Preorder binary tree traversal is a classic interview problem about trees. The key to solve this problem is to understand the follow...
分类:编程语言   时间:2014-09-23 22:37:05    阅读次数:337
二叉树的层序遍历
原题: Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree {3,9,20,#,#,15,7}, 3 / 9 ...
分类:其他好文   时间:2014-09-23 20:29:17    阅读次数:243
Leetcode_num6_Unique Binary Search Trees
题目: Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example, Given n = 3, there are a total of 5 unique BST's. 1 3 3 2...
分类:其他好文   时间:2014-09-22 20:55:03    阅读次数:203
【LeetCode】Sum Root to Leaf Numbers 解题报告
【题目】 Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Fin...
分类:其他好文   时间:2014-09-22 19:30:53    阅读次数:175
Binary Tree Postorder Traversal
[leetcode]Binary Tree Postorder Traversal...
分类:其他好文   时间:2014-09-22 14:28:42    阅读次数:121
Binary Tree Preorder Traversal
[leetcode]Given a binary tree, return the preorder traversal of its nodes' values....
分类:其他好文   时间:2014-09-22 13:38:03    阅读次数:215
Maximum Depth of Binary Tree
[leetcode]Given a binary tree, find its maximum depth....
分类:其他好文   时间:2014-09-22 13:24:42    阅读次数:114
Leetcode: Maximal Rectangle
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.难度:90 这是一道非常综合的题目,要求在0-1矩阵中找出面积最大...
分类:其他好文   时间:2014-09-22 07:45:22    阅读次数:189
zoj 1944 Tree Recovery (二叉树)
Tree Recovery Time Limit: 2 Seconds      Memory Limit: 65536 KB Little Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with ...
分类:其他好文   时间:2014-09-21 21:55:21    阅读次数:204
Android - Binary XML file line #8: Error inflating class fragment
Error:threadid=1:threadexitingwithuncaughtexception(group=0x415c5940) FATALEXCEPTION:main java.lang.RuntimeException:UnabletostartactivityComponentInfo{com.example.wifidirectdemo/com.example.wifidirectdemo.MainActivity}:android.view.InflateException:BinaryX..
分类:移动开发   时间:2014-09-21 13:21:21    阅读次数:377
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!