码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
leetcode || 100、Same Tree
problem: 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 ...
分类:其他好文   时间:2015-04-17 18:13:17    阅读次数:89
erlang sha
Sha_binary = crypto:hash(sha, "14292520241963008744cef58c7e0a284d06a2fcef5a61f4bee4").Hex_string = > || > >.string:to_lower(binary_to_list(Hex_string)...
分类:其他好文   时间:2015-04-17 17:48:02    阅读次数:162
【leetcode】Same Tree(easy)
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 an...
分类:其他好文   时间:2015-04-17 15:23:15    阅读次数:107
目标检测的图像特征提取之(二)LBP特征
LBP(Local Binary Pattern,局部二值模式)是一种用来描述图像局部纹理特征的算子;它具有旋转不变性和灰度不变性等显著的优点。它是首先由T. Ojala, M.Pietikäinen,和D. Harwood在1994年提出,用于纹理特征提取。而且,提取的特征是图像的局部的纹理特征;...
分类:其他好文   时间:2015-04-17 13:40:27    阅读次数:183
87. Scramble String Leetcode Python
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. Below is one possible representation of s1 = "great": great / gr ...
分类:编程语言   时间:2015-04-17 11:38:26    阅读次数:129
leetcode || 96、Unique Binary Search Trees
problem: 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 ...
分类:其他好文   时间:2015-04-17 09:45:12    阅读次数:108
OJ练习18——T67 Add Binary
把以字符串表示的两个二进制数相加。【思路】活学活用昨天学到的reverse。将倒序相加变成正序相加。但这样的话,就要用到三个reverse,两个原串,最后还要把结果翻转。可能对速度有影响,经测试,好像还比不翻转快一点点。一个point是,两串长度不同,一串加完了另一串怎么办?我的办法是将其视为0,这...
分类:其他好文   时间:2015-04-17 09:33:59    阅读次数:135
Leetcode 112 Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:其他好文   时间:2015-04-17 08:21:12    阅读次数:101
LeetCode - Binary Tree Right Side View
Binary Tree Right Side View2015.4.17 06:04Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can...
分类:其他好文   时间:2015-04-17 07:12:41    阅读次数:142
LeetCode - Reverse Bits
Reverse Bits2015.4.17 05:42Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as000000101001010...
分类:其他好文   时间:2015-04-17 07:09:09    阅读次数:108
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!