码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
Gray Code
Question:https://leetcode.com/problems/gray-code/题目:The gray code is a binary numeral system where two successive values differ in only one bit.Given ...
分类:其他好文   时间:2016-01-10 07:05:43    阅读次数:179
Jan 08 - Reverse Bits; Binary; Integer; Bits; 复习位运算和二进制表达
复习 二进制位操作(bit operation),32bit integer 取值范围:-2^31 -- 2^31-101111111=12700000010=200000001=100000000=011111111=?111111110=?210000001=?12710000000=?128(...
分类:其他好文   时间:2016-01-10 07:04:32    阅读次数:148
LeetCode - Recover Binary Search Tree
题目:Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space ...
分类:其他好文   时间:2016-01-09 20:12:12    阅读次数:146
LeetCode - Unique Binary Search Trees II
题目:Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example,Given n = 3, your program should return ...
分类:其他好文   时间:2016-01-09 16:53:50    阅读次数:157
Mysql 常用命令集
1.mysqlbinlog工具使用方法如下:先使用 show binary logs 查看在使用导出命令mysqlbinlog -R -uroot -pxxxx -hxxx.xxx.xxx.xxx -d db_name --base64-output=decode-rows --start-date...
分类:数据库   时间:2016-01-09 16:47:21    阅读次数:159
lintcode 中等题:binary tree serialization 二叉树的序列化和反序列化
题目二叉树的序列化和反序列化设计一个算法,并编写代码来序列化和反序列化二叉树。将树写入一个文件被称为“序列化”,读取文件后重建同样的二叉树被称为“反序列化”。如何反序列化或序列化二叉树是没有限制的,你只需要确保可以将二叉树序列化为一个字符串,并且可以将字符串反序列化为原来的树结构。样例给出一个测试数...
分类:其他好文   时间:2016-01-08 21:57:59    阅读次数:592
Linux rpm 命令参数
rpm 执行安装包二进制包(Binary)以及源代码包(Source)两种。二进制包可以直接安装在计算机中,而源代码包将会由RPM自动编译、安装。源代码包经常以src.rpm作为后缀名。常用命令组合: -ivh:安装显示安装进度--install--verbose--hash -vh:显示安装进.....
分类:系统相关   时间:2016-01-08 18:19:30    阅读次数:258
机器视觉 Local Binary Pattern (LBP)
Local binary pattern (LBP),在机器视觉领域,是非常重要的一种特征。LBP可以有效地处理光照变化,在纹理分析,纹理识别方面被广泛应用。LBP 的算法非常简单,简单来说,就是对图像中的某一像素点的灰度值与其邻域的像素点的灰度值做比较,如下图所示:如果邻域像素值比该点大,则赋为1,反之,则赋为0,这样从左上角开始,可以形成一个bit chain,然后将该 bit chain...
分类:其他好文   时间:2016-01-08 15:55:09    阅读次数:312
Unique Binary Search Trees II
Givenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.ExampleGivenn= 3, your program should return all 5 unique B...
分类:其他好文   时间:2016-01-08 07:05:20    阅读次数:184
Unique Binary Search Trees
Given n, how many structurally unique BSTs (binary search trees) that store values 1...n?ExampleGiven n = 3, there are a total of 5 unique BST's.1 ...
分类:其他好文   时间:2016-01-08 07:03:30    阅读次数:167
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!