- 博客(4)
- 收藏
- 关注
原创 第九周 算法Integer Break
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum product you can get.For example, given n = 2, return 1
2017-04-23 20:16:09 373
原创 算法第八周 Is Subsequence
Given a string s and a string t, check if s is subsequence of t.You may assume that there is only lower case English letters in both s and t. t is potentially a very long (length ~= 500,000) string, an
2017-04-17 09:52:20 488
原创 算法第七周 Arithmetic Slices
A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the same.For example, these are arithmetic sequence:1,
2017-04-09 19:57:52 630
原创 算法课第六周 贪心算法
Given a collection of intervals, find the minimum number of intervals you need to remove to make the rest of the intervals non-overlapping.Note: You may assume the interval's end point is always bigger
2017-04-09 19:02:58 446
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人