- 博客(7)
- 资源 (12)
- 收藏
- 关注
转载 [LeetCode]Majority Element II
QuestionGiven an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. The algorithm should run in linear time and in O(1) space.本题难度Medium。投票法复杂度时间 O(N) 空间 O(1) 思路在Majority E
2017-02-17 18:09:19 292
原创 [LeetCode]Summary Ranges
QuestionGiven a sorted integer array without duplicates, return the summary of its ranges.For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"].本题难度Medium。迭代法复杂度时间 O(N) 空间 O(1) 思路题目有个条件是:数字是已排序的
2017-02-17 17:34:39 243
原创 [LeetCode]Maximal Square
QuestionGiven a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its area.For example, given the following matrix: 1 0 1 0 0 1 0 1 1 1 1 1 1 1 1
2017-02-17 15:37:42 280
原创 [LeetCode]Contains Duplicate III
QuestionGiven an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between nums[i] and nums[j] is at most t and the absolute diff
2017-02-16 17:08:04 302
原创 [LeetCode]Contains Duplicate II
QuestionGiven an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the absolute difference between i and j is at m
2017-02-16 16:22:19 234
原创 [LeetCode] Contains Duplicate
QuestionGiven an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every ele
2017-02-16 15:52:20 191
原创 《出入库管理系统》软件主页与FAQ
软件说明本软件是为方便管理仓库的入库、出库、库存情况而设计。 主要功能:入库管理出库管理库存管理综合信息管理用户管理。
2017-02-12 10:10:40 1434
作为开发语言必备的
2018-07-28
JAVA并发编程实战
2017-11-10
精通AngularJS
2016-11-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人