码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
给定n求二叉搜索树的个数
Givenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your program should return all 5 uni...
分类:其他好文   时间:2014-09-04 18:52:29    阅读次数:181
Download rtsp.c
1. [代码][C/C++]代码 /** Copyright (c) 2011, Jim Hollinger* All rights reserved.** Redistribution and use in source and binary forms, with or without* mod...
分类:其他好文   时间:2014-09-04 16:40:09    阅读次数:259
LeetCode: Maximal Rectangle
LeetCode: Maximal RectangleGiven a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.地址:htt...
分类:其他好文   时间:2014-09-03 22:36:37    阅读次数:220
Binary Tree Level Order Traversal II <leetcode>
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For e...
分类:其他好文   时间:2014-09-03 21:13:57    阅读次数:142
关于2进制直接转16进制
实际中估计也没有这个需求,只是写写。 能不能直接由2进制转为16进制呢,最直接的办法是通过位移操作,也就是通常所说的 每四位二进制对应一个16进制, 假如java中有一种 二进制的基础类型 Binary bi = new Binary(11010101);这样的话 进行 bi >>> 4 位移操作 就可以很容易转换了,关于这个可以参考Integer.java中的toHexString(in...
分类:其他好文   时间:2014-09-03 18:09:57    阅读次数:240
JVMS Specification(3)-The class File Format
3 The class File Format 3.1 The ClassFile Structure 3.2 The Internal Form of Names 3.2.1 Binary Class and Interface Names 3.2.2 Unqualified Names 3.3 Descriptors and Signatures 3.3.1 Grammar Not...
分类:其他好文   时间:2014-09-03 16:57:58    阅读次数:358
erlang binary
matches -> 始终与最长的进行匹配match -> 始终与第一个进行匹配longest_common_prefix -> 共同的前缀的长度longest_common_suffix -> 共同的后缀的长度binary:part(>, {3,4}) == binary:part(>, {7.....
分类:其他好文   时间:2014-09-03 12:49:16    阅读次数:173
Symmetric Tree <LeetCode>
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 / \ ...
分类:其他好文   时间:2014-09-03 10:49:16    阅读次数:176
2014.9.2数据库基础
(一)数据类型整数数据类型 intsmallinttinyint微小的bigint浮点数据类型 real(float)float(double)decimal(容量最大)numeric二进制数据类型 binary(用程序往里写)varbinaryimage(没有大小限制)varbinary(max)...
分类:数据库   时间:2014-09-02 22:46:05    阅读次数:368
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: Recur...
分类:其他好文   时间:2014-09-02 21:23:55    阅读次数:317
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!