码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
Leetcode: Binary Search Tree Iterator
题目: Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST.Calling next() will return the next smallest number in the BST.Note: next() and...
分类:其他好文   时间:2015-03-29 00:38:50    阅读次数:201
【LeetCode】Flatten Binary Tree to Linked List
题目:Flatten Binary Tree to Linked List /**LeetCode Flatten Binary Tree to Linked List * 题意:给定一个二叉树,将其转变为一个相当于单链表的结构,观察可知该结构即:每一个节点左儿子为空,右儿子指向自己先序遍历时的下一个节点 * 思路:有观察可得,应对其进行先序遍历,得到正确的序列连接起来 * Defin...
分类:其他好文   时间:2015-03-29 00:38:37    阅读次数:143
LeetCode-101 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 / \ ...
分类:其他好文   时间:2015-03-29 00:30:42    阅读次数:154
linux命令学习笔记——ldd命令
ldd命令用于判断某个可执行的 binary 档案含有什么动态函式库。参数说明:--version 打印ldd的版本号-v --verbose 打印所有信息,例如包括符号的版本信息-d --data-relocs 执行符号重部署,并报告缺少的目标对象(只对ELF格式适用)-r --functi...
分类:系统相关   时间:2015-03-28 23:09:11    阅读次数:296
RMVB批量裁剪
电脑里有100多个视频,然后它的开始和结束太长了,于是想把它剪一下。。。#!/usr/bin/envpython #RmvbEditorhttp://gd.7edown.com:808/green/rmedtgui.rar #MediaInfoCLIx86http://mediaarea.net/download/binary/mediainfo/0.7.72/MediaInfo_CLI_0.7.72_Windows_i386.zip #Me..
分类:其他好文   时间:2015-03-28 19:00:51    阅读次数:213
获取内存中整数二进制形式
采用移位和相与方式求整数在内存中的二进制形式。 #include typedef int DataType; int num_covert_binary(DataType num); void main() { DataType num; num = -1; num_covert_binary(num); num = 12; num_covert_binary(num); get...
分类:其他好文   时间:2015-03-28 14:23:23    阅读次数:103
tomcat源码导入eclipse步骤
1. 获取源代码 方式一:从官网http://tomcat.apache.org/download-70.cgi直接下载,官网提供了Binary 和 Source Code两种下载方式,要研究tomcat源代码,选择source code 方式下载 方式二:利用svn获取源代码,先安装svn,再新建...
分类:系统相关   时间:2015-03-28 14:18:41    阅读次数:285
PL/SQL基本结构---基本数据类型变量
1. 基本数据类型 Number 数字型 Int 整数型 Pls_integer 整数型,产生溢出时出现错误 Binary_integer 整数型,表示带符号的整数 Char 定长字符型,最大255个字符 Varchar2 变长字符型,最大2000个字符 Long 变长字符型,最长2GB Date ...
分类:数据库   时间:2015-03-28 14:14:33    阅读次数:140
PL/SQL基本结构---PLSQL复合类型---表类型变量table
表类型变量table语法如下: type 表类型 is table of 类型 index by binary_integer; 表变量名 表类型;类型可以是前面的类型定义,index by binary_integer 子句代表以符号整数为索引,这样访问表类型变量中的数据方法就是“表变量名(索引符...
分类:数据库   时间:2015-03-28 14:13:15    阅读次数:152
Same Tree
Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. #include #inc...
分类:其他好文   时间:2015-03-28 13:03:15    阅读次数:113
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!