- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 龟兔算法检测是否有环
龟兔算法思路在做LeetCode 287. Find the Duplicate Number 时,接触到了这个算法,在网上搜的讲解感觉有一些不够详细,虽然讲出了思路,但是有些跳跃,所以自己用比较徐,但是比较详细的话总结了一遍,方便日后回顾
2017-03-22 11:21:52
563
原创 [LeetCode] 238. Product of Array Except Self
问题 Given an arraynums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i]. Solve it without division and in O
2017-02-20 23:12:00
278
原创 [LeetCode]05. Longest Palindromic Substring (动态规划)
对于长度为n的字符串s,找出以第i个字符起始的长度为len的最长回文
2017-02-07 00:16:42
1092
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人