LintCode
文章平均质量分 79
hyt502
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LintCode : 最长回文子字符串 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, and there exists one unique longest palindromic substring. 根据题意,找到给定字符串中最长的回文原创 2015-04-26 15:33:08 · 931 阅读 · 0 评论 -
LintCode : 第一个丢失的正整数 First Missing Positive
题目链接:http://www.lintcode.com/en/problem/first-missing-positive/ Given an unsorted integer array, find the first missing positive integer. Example Given [1,2,0] return 3, and [3,4,-1,1原创 2015-06-13 21:39:49 · 476 阅读 · 0 评论 -
LintCode : 最接近零的子数组和 Subarray Sum Closest
题目链接:http://www.lintcode.com/en/problem/subarray-sum-closest/ Given an integer array, find a subarray with sum closest to zero. Return the indexes of the first number and last number. Ex原创 2016-04-26 11:56:49 · 694 阅读 · 0 评论
分享