码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
MySQL的零碎知识点
用binary解决mysql数据大小写敏感问题:BINARY不是函数,是类型转换运算符,它用来强制它后面的字符串为一个二进制字符串,可以理解为在字符串比较的时候区分大小写。MySQL特别是4.*以前的对于中文检索会有不准确的问题,可以在检索的时候加上binary,4.*之后的版本就不需要了。MySQ...
分类:数据库   时间:2015-02-15 12:10:18    阅读次数:205
leetcode 108. Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.[Solution] 1 TreeNode *sortedArrayToBST(vector &num) ...
分类:其他好文   时间:2015-02-14 22:27:21    阅读次数:220
Linux 学习笔记
Linux学习笔记1. 常用命令命令存放,哪些命令可以执行?root:/sbin/usr/sbinall users:/bin/usr/binbin--binary 二进制文件Linux所有都是文件,都是二进制文件usr—usersbin—super binary文件处理命令1ls英文原意是list...
分类:系统相关   时间:2015-02-14 20:01:45    阅读次数:244
[LeetCode]Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. For example: Given the below binary tree, 1 / \...
分类:其他好文   时间:2015-02-14 15:02:11    阅读次数:198
[LeetCode]Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 这道题要求根据二叉树的前序遍历序列和中序遍历序列构建二叉树。 举个例子: 前序序列:A B D E F C...
分类:其他好文   时间:2015-02-14 13:48:00    阅读次数:145
[LeetCode]Construct Binary Tree from Inorder and Postorder Traversal
Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 这道题与上一题类似, 要求根据二叉树的后序遍历序列和中序遍历序列构建二叉树。后序遍历序列的末尾是根节点,在中...
分类:其他好文   时间:2015-02-14 13:47:49    阅读次数:216
[LeetCode]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-02-13 21:15:47    阅读次数:156
[LeetCode]Binary Tree Level Order Traversal II
Given a binary tree, return the bottom-up level order traversal of its nodes’ values. (ie, from left to right, level by level from leaf to root). For example: Given binary tree {3,9,20,#...
分类:其他好文   时间:2015-02-13 21:12:18    阅读次数:136
[LeetCode]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,20,#,#,15,7}, 3...
分类:其他好文   时间:2015-02-13 20:01:56    阅读次数:136
[LeetCode]Binary Tree Zigzag Level Order Traversal
Given a binary tree, return the zigzag level order traversal of its nodes’ values. (ie, from left to right, then right to left for the next level and alternate between). For example: Giv...
分类:其他好文   时间:2015-02-13 19:59:21    阅读次数:198
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!