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 ...
分类:
其他好文 时间:
2018-06-20 23:59:10
阅读次数:
277
Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image horizontally means t ...
分类:
其他好文 时间:
2018-06-20 14:34:08
阅读次数:
173
数据类型 所谓的列类型,其实就是指数据类型,即对数据进行统一的分类,从系统的角度出发是为了能够使用统一的方式进行管理,更好的利用有限的空间。 在 SQL 中,将数据类型分成了三大类,分别为:数值型、字符串型和日期时间型。 选择正确的数据类型对于获得高性能至关重要,三大原则: 更小的通常更好,尽量使用 ...
分类:
数据库 时间:
2018-06-19 20:39:46
阅读次数:
232
恢复内容开始 MySQL常见的数据类型 一、数据类型是什么? 数据类型是指列、存储过程参数、表达式和局部变量的数据特征,它决定了数据的存储格式,代表了不同的信息类型。 有一些数据是要存储为数字的,数字当中有些是要存储为整数、小数、日期型等... 二、MYSQL常见数据类型 MySQL支持多种类型,大 ...
分类:
数据库 时间:
2018-06-19 16:28:43
阅读次数:
196
原题网址:https://www.lintcode.com/problem/binary-tree-path-sum/description 描述 给定一个二叉树,找出所有路径中各节点相加总和等于给定 目标值 的路径。 一个有效的路径,指的是从根节点到叶节点的路径。 描述 描述 给定一个二叉树,找出 ...
分类:
其他好文 时间:
2018-06-19 14:44:39
阅读次数:
165
原题网址:https://www.lintcode.com/problem/clone-binary-tree/description 描述 深度复制一个二叉树。 给定一个二叉树,返回一个他的 克隆品 。 描述 描述 深度复制一个二叉树。 给定一个二叉树,返回一个他的 克隆品 。 深度复制一个二叉树 ...
分类:
其他好文 时间:
2018-06-18 22:16:51
阅读次数:
398
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 l ...
分类:
其他好文 时间:
2018-06-18 17:15:52
阅读次数:
170
It's like JSON.but fast and small. MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JS... ...
分类:
Web程序 时间:
2018-06-18 16:02:15
阅读次数:
653
原题网址:https://www.lintcode.com/problem/count-1-in-binary/description 描述 计算在一个 32 位的整数的二进制表示中有多少个 1. 描述 描述 计算在一个 32 位的整数的二进制表示中有多少个 1. 计算在一个 32 位的整数的二进制 ...
分类:
其他好文 时间:
2018-06-18 15:06:55
阅读次数:
206
144. 二叉树的前序遍历 94. 二叉树的中序遍历 145. 二叉树的后序遍历 ...
分类:
其他好文 时间:
2018-06-18 11:54:13
阅读次数:
167