- 博客(4)
- 收藏
- 关注
原创 LeetCode Top Interview Questions Easy Collections 总结二(String)
Reverse StringWrite a function that takes a string as input and returns the string reversed.要求:反转字符串 分析:建立一个新字符串从末尾拼接Reverse IntegerGiven a 32-bit signed integer, reverse digits of an integ...
2018-03-18 21:45:14 512
原创 LeetCode Top Interview Questions Easy Collections 总结一(Array)
ArrayRemove Duplicates from Sorted Array: Given a sorted array, remove the duplicates in-place such that each element appear only once and return the new length.Do not allocate extra space for an...
2018-03-14 16:33:19 682
原创 MySQL 基础学习二 多表的基本操作/事务
外键约束用于保存数据的完整性, 一个表的的关键字在另一个表中作为主键使用. 主表是被引入外键的表, 从表就是引入外键的表添加外键create table dept( did int primary key auto_increment, dname varchar(20));//建表时插入CREATE TABLE employee { eid int...
2018-03-14 15:31:01 182
原创 MySQL 基础学习一 数据库以及单表的基本操作
数据库操作创建数据库create database 数据库名称 character set 字符集名称 collate 校对名称; 示例: 创建数据库 create database db1; 设定字符集 create database db2 character set gbk; 校对, 一般用于排序, 每一种校对规则的排序方式不同 create database db...
2018-03-12 20:02:17 201
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人