码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
erlang的一些系统限制修改
atom个数限制+t xxx进程数限制+P xxxxets表个数限制+e xxxports个数限制+Q xxxx查看限制string:tokens(binary_to_list(erlang:system_info(info)),"\n").
分类:其他好文   时间:2015-03-17 19:39:21    阅读次数:162
【leetcode】Reverse Bits(middle)
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as00000010100101000001111010011100), return ...
分类:其他好文   时间:2015-03-17 19:27:15    阅读次数:111
好的数据结构博客链接
http://www.cnblogs.com/yangecnu/p/Introduce-Binary-Search-Tree.html http://blog.csdn.net/liuxincumt/article/details/7360312?《比较实用》...
分类:其他好文   时间:2015-03-17 16:07:28    阅读次数:141
[LeetCode]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. 这道题是要判断两棵树是不...
分类:其他好文   时间:2015-03-17 15:49:15    阅读次数:88
Recover Binary Search Tree
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 ...
分类:其他好文   时间:2015-03-17 15:41:16    阅读次数:139
[LeetCode] Reverse Bits
Reverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as 00000010100101000001111010011100), return 964176192 (represented in binary as 00111001011110...
分类:其他好文   时间:2015-03-16 23:16:55    阅读次数:331
【LeetCode】Validate Binary Search Tree 二叉查找树的判断
题目: Given a binary tree, determine if it is a valid binary search tree (BST). 知识点:BST的特点: 1、一个节点的左子树的所有点都小于或等于这个点的值,右子树的所有节点的值大于该节点的值; 2、最左节点值最小,最右节点值最大; 3、中序遍历结果值是一个非降的数列 问题:如果用Integer.MAX_VAL...
分类:其他好文   时间:2015-03-16 23:13:11    阅读次数:149
[LeetCode] Number of 1 Bits
Write a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight).For example, the 32-bit integer ’11’ has binary representation 0000000000000...
分类:其他好文   时间:2015-03-16 23:09:57    阅读次数:195
Binary Tree Preorder Traversal
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(...
分类:其他好文   时间:2015-03-16 23:05:38    阅读次数:181
Path Sum II
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(...
分类:其他好文   时间:2015-03-16 23:03:51    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!