码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
SQL标准数据类型
Image        二进制数据类型 Image 数据类型用来存储变长的二进制数据,最大可达231-1或大约20亿字节 Binary 二进制数据类型 Binary 数据类型用来存储可达8000字节长的二进制数据 Bit 整型 Bit数据类型是整型,其值只能是0,1或空值(NULL)。这种数据类型用于存储只有两种可能值的数据,如Ye...
分类:数据库   时间:2015-04-11 18:04:43    阅读次数:195
Leetcode (5) 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-04-11 18:02:35    阅读次数:90
Binary Tree Right Side View 二叉树层序遍历变形
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For example: Given the following binary tree, 1...
分类:其他好文   时间:2015-04-11 17:52:51    阅读次数:109
二叉查找树
二叉查找树(Binary Search Tree)也称二叉搜索树、有序二叉树(ordered binary tree),排序二叉树(sorted binary tree),是指一棵空树或者具有下列性质的二叉树:若任意节点的左子树不空,则左子树上所有结点的值均小于它的根结点的值;若任意节点的右子树不空...
分类:其他好文   时间:2015-04-11 17:47:51    阅读次数:121
Erlang中常用的类型转换[转]
转自:http://blog.sina.com.cn/s/blog_53a5047b01018yqv.html例子结果atom_to_list(hello)."hello"list_to_atom("hello").hellobinary_to_list(>)."hello"binary_to_li...
分类:其他好文   时间:2015-04-11 17:47:29    阅读次数:134
Leetcode: Gray Code
题目: The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total number of bits in the code, print the sequence of...
分类:其他好文   时间:2015-04-11 16:25:26    阅读次数:127
POJ 3358- Period of an Infinite Binary Expansion(欧拉函数+欧拉定理)
Period of an Infinite Binary Expansion Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64u Submit Status Practice POJ 3358 Appoint description:  System Crawler  (201...
分类:其他好文   时间:2015-04-11 13:18:57    阅读次数:148
Leetcode Balanced Binary Tree
题目地址:https://leetcode.com/problems/balanced-binary-tree/题目解答:/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode ...
分类:其他好文   时间:2015-04-11 13:13:13    阅读次数:100
Populating Next Right Pointers in Each Node II--LeetCode
题目: Follow up for problem "Populating Next Right Pointers in Each Node". What if the given tree could be any binary tree? Would your previous solution still work? Note: You may only us...
分类:其他好文   时间:2015-04-11 11:53:04    阅读次数:192
Binary Tree Level Order Traversal
从根节点开始按层次遍历一棵二叉树 思路:广搜即可 class Solution {public: vector > levelOrder(TreeNode *root) { vector > resVec; if (!root) return resVec; queue nodeQue; nodeQ...
分类:其他好文   时间:2015-04-11 11:44:38    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!