摘要: 171. Excel Sheet Column Number Given a column title as appear in an Excel sheet, return its corresponding column number. For example: Example 1: Examp 阅读全文
posted @ 2018-06-01 22:36 LYRiver 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 172. Factorial Trailing Zeroes Given an integer n, return the number of trailing zeroes in n!. Example 1: Example 2: Note: Your solution should be in 阅读全文
posted @ 2018-06-01 22:18 LYRiver 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 一、事务的特性 ACID: 1、原子性(Atomicity) 事务是最小的不可分割单元。只有做完和回滚,没有中间状态。 2、一致性(Consistency) 数据库总是从一个一致的状态转换到另一个一致的状态。这个有些容易和隔离性弄混淆,其实二者有内在的因果关系。正是隔离性的级别,造成了一致性的差异, 阅读全文
posted @ 2018-05-31 01:06 LYRiver 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 75. Sort Colors Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same color are adjacent, with the 阅读全文
posted @ 2018-05-30 21:36 LYRiver 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 55. 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 represe 阅读全文
posted @ 2018-05-27 23:35 LYRiver 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 17. Letter Combinations of a Phone Number Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number 阅读全文
posted @ 2018-05-27 22:23 LYRiver 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Longest Palindromic Substring Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Exam 阅读全文
posted @ 2018-05-25 18:55 LYRiver 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 3. Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Examples: Giv 阅读全文
posted @ 2018-05-24 22:16 LYRiver 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 73. Set Matrix Zeroes Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in-place. Example 1: Example 2: Follow up: A 阅读全文
posted @ 2018-05-23 00:01 LYRiver 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 49. Group Anagrams Given an array of strings, group anagrams together. Example: Input: ["eat", "tea", "tan", "ate", "nat", "bat"], Output: [ ["ate","e 阅读全文
posted @ 2018-05-21 23:48 LYRiver 阅读(88) 评论(0) 推荐(0) 编辑