码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
【Path Sum】cpp
题目: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...
分类:其他好文   时间:2015-05-17 02:03:11    阅读次数:116
CSAPP Lab2: Binary Bomb
著名的CSAPP实验:二进制炸弹就是通过gdb和反汇编猜测程序意图,共有6关和一个隐藏关卡只有输入正确的字符串才能过关,否则会程序会bomb终止运行隐藏关卡需要输入特定字符串方会开启实验材料下载地址:http://csapp.cs.cmu.edu/2e/labs.html下面通关解法:反汇编:obj...
分类:移动开发   时间:2015-05-17 00:48:16    阅读次数:940
【Maximum Depth of Binary Tree 】cpp
题目:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest...
分类:其他好文   时间:2015-05-17 00:40:24    阅读次数:126
ASP.NET Web API 2.1支持Binary JSON(Bson)
ASP.NET Web API 2.1内建支持XML、Json、Bson、form-urlencoded的MiME type,今天重点介绍下Bson。 BSON是由10gen开发的一个数据格式,目前主要用于MongoDB中,是MongoDB的数据存储格式。BSON基于JSON格式,选择JSON进行改...
分类:Windows程序   时间:2015-05-16 23:07:10    阅读次数:334
[LeetCode] Maximum Depth of Binary Tree
Maximum Depth of Binary Tree Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node....
分类:其他好文   时间:2015-05-16 20:38:48    阅读次数:152
[LeetCode] Binary Tree Level Order Traversal
Binary Tree Level Order Traversal   Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree {3,9,...
分类:其他好文   时间:2015-05-16 20:35:48    阅读次数:155
【Validate Binary Search Tree】cpp
题目:Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains onl...
分类:其他好文   时间:2015-05-16 20:21:48    阅读次数:91
【Tree】二叉树先序遍历 迭代 & 递归
1 /*************************** 2 https://leetcode.com/problems/binary-tree-preorder-traversal/ 3 @date 2015.5.13 4 @description 5 用非递归方法对二叉树进行先序...
分类:其他好文   时间:2015-05-16 18:19:07    阅读次数:97
【Tree】已知前序和中序遍历还原二叉树
1 /************************** 2 https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ 3 @date 2015.5.16 4 @descrip....
分类:其他好文   时间:2015-05-16 18:16:24    阅读次数:167
[LeetCode][Java]Maximum Depth of Binary Tree
https://leetcode.com/problems/maximum-depth-of-binary-tree/Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth i...
分类:编程语言   时间:2015-05-16 18:11:43    阅读次数:124
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!