码迷,mamicode.com
首页 >  
搜索关键字:binary tree upside d    ( 23249个结果)
cmake笔记0919
根据当前项目的情况,将build部分分为library和binary。编译的中间文件放在library和binary目录,结果放在lib和bin目录。首先,在根目录下建立CMakeLists.txt,将各lib和bin作为subdir加入。其次,建立个subdir的CMakeLists.txt。很幸...
分类:其他好文   时间:2014-09-19 18:54:15    阅读次数:257
【MySQL】binlog_format以及binlog事务记录分析
MySQL官方对于binlog_format参数的说明:http://dev.mysql.com/doc/refman/5.5/en/binary-log-setting.htmlbinlog_format可以动态修改,官网对于动态修改主库配置时提醒谨慎操作,会导致复制关系异常。【主库flush l...
分类:数据库   时间:2014-09-19 18:54:05    阅读次数:494
leetcode - Binary Tree Postorder Traversal
Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [3,2,1]. Note: Recursive solut...
分类:其他好文   时间:2014-09-19 17:42:05    阅读次数:158
leetcode - Binary Tree Preorder Traversal
Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,2,3]. Note: Recursive soluti...
分类:其他好文   时间:2014-09-19 17:40:15    阅读次数:177
如何在开启了log-bin的MySQL Server中创建FUNCTION
在MySQL主从复制机器的master的数据库中创建function,报出如下错误: Error Code: 1418. This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled  (you *might* want to...
分类:数据库   时间:2014-09-19 17:38:05    阅读次数:210
Extjs 树节点样式改变
ExtJs 中默认对树节点图标控制的CSS代码:1 .x-tree-icon-leaf{width:16px;background-image:url('../../resources/themes/images/default/tree/leaf.gif')}2 .x-tree-icon-pare...
分类:Web程序   时间:2014-09-19 17:34:15    阅读次数:236
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-09-19 05:31:35    阅读次数:211
Leetcode: Valide Binary Search Tree
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-09-19 04:28:05    阅读次数:247
Leetcode: Recover Binary Search Tree
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-09-19 01:06:54    阅读次数:301
[BZOJ 3514]Codechef MARCH14 GERALD07加强版
这题的做法很巧妙,我却写的很作死……今天算是狠狠的又补了一边 link-cut-tree ,完了又是发现自己很 SX考虑已经有 i 条边构成的图,现在要加入第 i+1 跳边那么有两种情况:1.要么成环 2.要么不成环 (废话)我们认为成环的边是没有贡献的,不成环的边是有贡献的答案就是统计 l..r ...
分类:其他好文   时间:2014-09-19 01:01:54    阅读次数:653
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!