1、一种方法是可以设置表或行的collation,使其为binary或case sensitive。在MySQL中,对于Column Collate其约定的命名方法如下:*_bin: 表示的是binary case sensitive collation,也就是说是区分大小写的*_cs: case ...
分类:
数据库 时间:
2014-12-24 16:08:19
阅读次数:
241
【题目】
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
/ 2 2
/ \ / 3 4 4 3...
分类:
其他好文 时间:
2014-12-24 10:00:49
阅读次数:
181
BT(binary tree), want to find the LIS(largest independent set) of the BT. LIS: if the current node is in the set, then its children should not be in t...
分类:
其他好文 时间:
2014-12-24 08:40:08
阅读次数:
120
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/ \2 3Ret...
分类:
其他好文 时间:
2014-12-24 07:35:49
阅读次数:
227
题目:
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
Given n = 3, there are a total of 5 unique BST's.
1 3 3 2 ...
分类:
编程语言 时间:
2014-12-23 22:47:03
阅读次数:
301
【题目】
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
/ 2 3
Re...
分类:
其他好文 时间:
2014-12-23 22:41:29
阅读次数:
257
题目
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find th...
分类:
其他好文 时间:
2014-12-23 15:35:28
阅读次数:
167
operator is not a known binary operator swift 语法错误笔记
error: operator is not a known binary operator
for x in 1..10
版本更新,开区间 改为 “..
var arr = String[]()
array types are...
分类:
编程语言 时间:
2014-12-23 13:57:58
阅读次数:
432
Convert Sorted Array to Binary Search TreeGiven an array where elements are sorted in ascending order, convert it to a height balanced BST.SOLUTION 1:...
分类:
其他好文 时间:
2014-12-23 13:52:56
阅读次数:
200
1.对象序列化的介绍1.NET支持对象序列化的几种方式二进制序列化:对象序列化之后是二进制形式的,通过BinaryFormatter类来实现的,这个类位于System.Runtime.Serialization.Formatters.Binary命名空间下。SOAP序列化:对象序列化之后的结果符合S...
分类:
其他好文 时间:
2014-12-23 00:11:27
阅读次数:
238