码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
LeetCode 104
Maximum Depth of Binary Tree Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the roo ...
分类:其他好文   时间:2016-04-25 00:37:34    阅读次数:142
java学习01
JRE,包括虚拟机。可以运行JAVA程序。JDK,包括JRE,编译工具JAVAC.EXE和打包工具JAR.EXE等等。JDK的BIN目录下,包含的都是二进制文件。(BINARY文件)。需要用DOS命令行打开。需配置环境,否则需要找到当前目录,在输入运行。技巧:打开文件CD jdk*,就省略复杂的文件 ...
分类:编程语言   时间:2016-04-24 21:38:07    阅读次数:194
centos安装配置amoeba以及测试
一.amoeba介绍网址:http://docs.hexnova.com/amoeba/二.安装java se1.5三.安装amoeba2.2.01.下载地址:http://sourceforge.net/projects/amoeba/files/,下载amoeba-mysql-binary-2. ...
分类:其他好文   时间:2016-04-24 15:41:41    阅读次数:175
<LeetCode OJ> 129. Sum Root to Leaf Numbers
Total Accepted: 74843 Total Submissions: 229553 Difficulty: Medium Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the...
分类:其他好文   时间:2016-04-24 12:49:47    阅读次数:195
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: But the ...
分类:其他好文   时间:2016-04-24 06:10:26    阅读次数:162
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 ...
分类:其他好文   时间:2016-04-23 22:52:21    阅读次数:221
【maven 入门】在Eclipse上使用Maven
Maven安装 去官网下载Maven,如下链接: http://maven.apache.org/download.cgi# 选择下载Binary zip archive 解压到本地,安装Maven前,先确保已安装JDK,CMD下输入java -version验证是否已安装JDK,如下为我本机的JD ...
分类:系统相关   时间:2016-04-23 17:59:38    阅读次数:269
数据结构与算法分析java——树2(二叉树类型)
1. 二叉查找树 二叉查找树(Binary Search Tree)/ 有序二叉树(ordered binary tree)/ 排序二叉树(sorted binary tree) 1). 若任意节点的左子树不空,则左子树上所有结点的值均小于它的根结点的值; 2). 若任意节点的右子树不空,则右子树上 ...
分类:编程语言   时间:2016-04-22 16:04:12    阅读次数:205
数据结构与算法--二叉树(一)
1 基于二叉链表的有序二叉树 1.1 问题 BST是Binary Search Tree的缩写,译为二叉搜索树,或有序二叉树,是二叉树的一种,它的定义如下: 1)或者是一棵空树; 2)或者是具有下列性质的二叉树: I) 若左子树不空,则左子树上所有结点的值均小于它的根结点的值; II) 若右子树不空,则右子树上所有结点的值均大于它的根结点的值; III)左、右...
分类:编程语言   时间:2016-04-22 10:37:48    阅读次数:318
331. Verify Preorder Serialization of a Binary Tree -- 判断是否为合法的先序序列
One way to serialize a binary tree is to use pre-order traversal. When we encounter a non-null node, we record the node's value. If it is a null node, ...
分类:其他好文   时间:2016-04-21 20:28:01    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!