码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
Leetcode 102 Binary Tree Level Order Traversal 二叉树+BFS
二叉树的层次遍历 1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x)
分类:其他好文   时间:2016-03-05 00:12:34    阅读次数:171
二叉树学习笔记之二叉查找树(BSTree)
二叉查找树即搜索二叉树,或者二叉排序树(BSTree),学习回顾一下有关的知识。 >>关于二叉查找树 二叉查找树(Binary Search Tree)是指一棵空树或者具有下列性质的二叉树:1. 若任意节点的左子树不空,则左子树上所有节点的值均小于它的根节点的值;2. 若任意节点的右子树不空,则右子
分类:其他好文   时间:2016-03-03 22:42:34    阅读次数:1601
CommonJS规范
CommonJS是一种规范,NodeJS是这种规范的实现。CommonJS是一 个不断发展的规范,计划将要包括如下部分: Modules Binary strings and buffers Charset encodings Binary, buffered, and textual input
分类:Web程序   时间:2016-03-03 19:23:02    阅读次数:191
[LeetCode] Closest Binary Search Tree Value 最近的二分搜索树的值
Given a non-empty binary search tree and a target value, find the value in the BST that is closest to the target. Note: Given target value is a floati
分类:其他好文   时间:2016-03-03 07:56:44    阅读次数:129
LeetCode 257. Binary Tree Paths
1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x),
分类:其他好文   时间:2016-03-02 22:03:17    阅读次数:145
LeetCode 129. Sum Root to Leaf Numbers
1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x),
分类:其他好文   时间:2016-03-02 22:00:50    阅读次数:123
Leetcode226:Invert Binary Tree
Invert a binary tree. 4 / \ 2 7 / \ / \ 1 3 6 9 to 4 / \ 7 2 / \ / \ 9 6 3 1 /** * Definition for a binary tree node. * struct TreeNode { * int val; *
分类:其他好文   时间:2016-03-02 21:52:44    阅读次数:88
LeetCode 102. Binary Tree Level Order Traversal
1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x),
分类:其他好文   时间:2016-03-02 21:50:02    阅读次数:117
LeetCode 173. Binary Search Tree Iterator
1 /** 2 * Definition for binary tree 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x), left(NU
分类:其他好文   时间:2016-03-02 21:31:39    阅读次数:123
iOS开发之数据库:增删改查
---恢复内容开始--- 首先要链接库,点击工程??选择Build Phases 下方有个Link Binary,点+ 搜索sqlite,选择libsqlite3.tbd
分类:移动开发   时间:2016-03-02 20:10:19    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!