- 博客(4)
- 收藏
- 关注
原创 【LeetCode解题报告】164. Maximum Gap
题目来源:https://leetcode.com/problems/maximum-gap/description/题目:Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Return 0 if the array contains les...
2018-05-15 14:04:26 204
原创 【LeetCode解题报告】74. Search a 2D Matrix
题目来源:https://leetcode.com/problems/search-a-2d-matrix/description/题目:Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in eac...
2018-05-15 13:55:01 212
原创 【LeetCode解题报告】75. Sort Colors
题目来源:https://leetcode.com/problems/sort-colors/description/题目: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 colo...
2018-05-15 13:42:51 190
原创 【LeetCode解题报告】53. Maximum Subarray
题目来源:https://leetcode.com/problems/maximum-subarray/description/ 题目:Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its ...
2018-05-15 13:34:53 158
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人