码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
Linux下目录
Linux下一切皆是文件。/bin 是Binary的缩写, 这个目录存放着最经常使用的命令 /sbin s就是Super User的意思,这里存放的是系统管理员使用的系统管理程序。 /home 存放普通用户的主目录,在Linux中每个用户都有一个自己的目录,一般该目录名是以用户的账号命名的 /roo ...
分类:系统相关   时间:2018-06-14 15:17:52    阅读次数:212
mysql —日志记录
日志 事务日志: transaction log 中继日志: reley log错误日志: error log 通用日志: general log 慢查询日志: slow query log 二进制日志: binary log 事务日志 transaction log:事务型存储引擎自行管理和使用 ...
分类:数据库   时间:2018-06-14 14:42:03    阅读次数:327
TensorFlow入门——安装(带GPU)
这一系列基本上是属于我自己进行到了那个步骤就做到那个步骤的 由于新装了GPU (GTX750ti)和CUDA9.0、CUDNN7.1版本的软件,所以希望TensorFlow能在GPU上运行,也算上补上之前的承诺 说了下初衷,由于现在新的CUDA版本对TensorFlow的支持不好,只能采取编译源码的 ...
分类:其他好文   时间:2018-06-14 01:19:22    阅读次数:530
leetcode 110. Balanced Binary Tree
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the dep ...
分类:其他好文   时间:2018-06-13 23:29:31    阅读次数:188
177 把排序数组转换为高度最小的二叉搜索树
原题网址:https://www.lintcode.com/problem/convert-sorted-array-to-binary-search-tree-with-minimal-height/description 描述 给一个排序数组(从小到大),将其转换为一棵高度最小的排序二叉树。 描 ...
分类:编程语言   时间:2018-06-13 21:42:42    阅读次数:176
Linux下安装percona-server-5.6+tokuDB
wget https://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-5.6.25-73.1/binary/tarball/Percona-Server-5.6.25-rel73.1-TokuDB.Linux.x86_64. ...
分类:数据库   时间:2018-06-13 15:22:33    阅读次数:290
783. Minimum Distance Between BST Node
方法一,非递归方法,中序遍历 方法二,递归方法,中序遍历 简单,问题不大 ...
分类:其他好文   时间:2018-06-13 14:41:28    阅读次数:138
【二叉树】hdu 1622 Trees on the level
【题意】 给定一棵树每个结点的权重和路径(路径用LR串表示),输出这棵树的层次遍历 【思路】 注意输入输出,sscanf用来格式化地截取需要的数据,strchr来在字符串中查找字符的位置 【Accepted】 ...
分类:其他好文   时间:2018-06-13 12:00:45    阅读次数:172
[leetcode]333. Largest BST Subtree最大二叉搜索树子树
Given a binary tree, find the largest subtree which is a Binary Search Tree (BST), where largest means subtree with largest number of nodes in it. Not ...
分类:其他好文   时间:2018-06-13 11:57:29    阅读次数:206
[leetcode]98. Validate Binary Search Tree验证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 ...
分类:其他好文   时间:2018-06-13 11:50:28    阅读次数:166
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!