码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
LeetCode: Gray Code
LeetCode: Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n represen...
分类:其他好文   时间:2014-09-01 22:31:13    阅读次数:289
Binary Tree Postorder Traversal 二叉树的后序遍历
二叉树的递归和非递归后序遍历总结。...
分类:其他好文   时间:2014-09-01 21:16:03    阅读次数:247
LRTHW笔记六
源码ex6-2.rb :types_of_people = 10x = "There are #{types_of_people} types of people." binary = "binary"do_not = "don't"y = "Those who know '#{binary}...
分类:其他好文   时间:2014-09-01 17:32:43    阅读次数:171
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. 解决...
分类:其他好文   时间:2014-09-01 15:40:33    阅读次数:146
安装MongoDB
MongoDB是一款开源的NoSQL数据库,主要应用于数据规模庞大的场合,并被视为Node.js的黄金搭档,由于它采用的是Binary JSON格式,所以与JavaScript具有任何语言都无法媲美的亲和力。关于它的具体介绍本文不作详细阐述,下面主要针对MongoDB在Windows下加入本地服务项...
分类:数据库   时间:2014-09-01 12:20:13    阅读次数:254
LeetCode: Unique Binary Search Trees
LeetCode: Unique Binary Search TreesGiven n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3...
分类:其他好文   时间:2014-08-31 22:41:31    阅读次数:361
LeetCode: Binary Tree Inorder Traversal
LeetCode: Binary Tree Inorder TraversalGiven a binary tree, return the inorder traversal of its nodes' values. For example:Given binary tree {1,#,2,3}...
分类:其他好文   时间:2014-08-31 22:38:11    阅读次数:215
Leetcode dfs Path Sum
Path Sum  Total Accepted: 20393 Total Submissions: 66674My Submissions 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...
分类:其他好文   时间:2014-08-31 21:33:41    阅读次数:284
Leetcode dfs Path SumII
Path Sum II  Total Accepted: 18489 Total Submissions: 68323My Submissions Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For exampl...
分类:其他好文   时间:2014-08-31 21:28:11    阅读次数:180
[leecode]Binary Tree Preorder Traversal
Binary Tree Preorder TraversalGiven a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ ...
分类:其他好文   时间:2014-08-31 18:34:41    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!