摘要: 2. MySQL数据类型 2.1 整数类型 后面的是默认显示宽度: tinyint(4) smallint(6) mediumint(9) int(11) bigint(20) 2.2 浮点型和定点数类型 MySQL可以指定浮点数和定点数的精度: 数据类型(M,D) M:数据总长度, D:小数点后的 阅读全文
posted @ 2016-04-13 22:13 zxqstrong 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1. 数据库概述 1.1 数据存储方式: 1)人工管理阶段 2)文件系统阶段: 文件系统通过文件的存储路径和文件名称访问文件中的数据 3)数据库系统阶段:Oracle, SQL Server, MySQL 等数据库都是关系数据库关系数据库中的表都是二维表 1.2 数据库泛型 数据库泛型(范式):第一 阅读全文
posted @ 2016-04-13 22:01 zxqstrong 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 1. copy-list-with-random-pointer(拷贝一个带随机指针的链表) A linked list is given such that each node contains an additional random pointer which could point to a 阅读全文
posted @ 2016-04-13 11:20 zxqstrong 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 1. jump game Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represen 阅读全文
posted @ 2016-04-13 10:57 zxqstrong 阅读(185) 评论(0) 推荐(0) 编辑