码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
利用mysql的binlog恢复数据
MySQL Binary Log也就是常说的bin-log, ,是mysql执行改动产生的二进制日志文件,其主要作用有两个: * 数据回复 * 主从数据库。用于slave端执行增删改,保持与master同步。 1.开启binary log功能 ???? 需要修改...
分类:数据库   时间:2014-11-09 16:44:59    阅读次数:312
Validate Binary Search Tree(DFS)
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 only n...
分类:其他好文   时间:2014-11-09 16:41:17    阅读次数:122
Binary Tree Level Order Traversal
Binary Tree Level Order TraversalGiven a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).Fo...
分类:其他好文   时间:2014-11-09 16:26:48    阅读次数:127
Binary Tree Level Order Traversal II
这道题A的略烦Binary Tree Level Order Traversal IIGiven a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right...
分类:其他好文   时间:2014-11-09 15:09:19    阅读次数:238
[LeetCode] Flatten Binary Tree to Linked List
Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattened t...
分类:其他好文   时间:2014-11-09 15:04:28    阅读次数:180
Add Binary 二进制数相加
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".二进制数想加,并且保存在string中,要注意的是如何将string和int之间互相转换,并且...
分类:其他好文   时间:2014-11-09 13:43:01    阅读次数:178
二叉树的各种遍历算法-leetcode Binary Tree Postorder Traversal 扩展
二叉树的各种遍历方法有 前序遍历 中序遍历 后序遍历 层序遍历。其中前三种遍历有递归程序可以实现,但是我们也有必要掌握其非递归版本的算法实现。正好在leetcode中遇到了遍历二叉树的问题,今天在这里一并总结了。首先,引用leetcode中关于二叉树节点的定义。1 // Definition ...
分类:编程语言   时间:2014-11-09 12:37:56    阅读次数:329
Leetcode-Recover BST
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-11-09 07:30:45    阅读次数:155
Leetcode-Validate BST
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 only n...
分类:其他好文   时间:2014-11-09 06:19:31    阅读次数:173
Leetcode-Symmetric Tree
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:其他好文   时间:2014-11-09 06:18:31    阅读次数:179
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!