- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 LeetCode:Repeated DNA Sequences
问题: All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying DNA, it is sometimes useful to identify repeated sequences within the DNA.
2015-04-08 10:45:15
284
原创 LeetCode:Compare Version Numbers
题目: Compare two version numbers version1 and version2. If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0. You may assume that the version strings are non-empty a
2015-04-08 10:11:15
298
原创 LeetCode :House Robber
Question: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adj
2015-04-07 16:39:05
256
原创 LeetCode: Rotate Array
Question: Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. Method: 1)cost O(n*(k%N)) time ,最暴力效
2015-04-07 15:30:33
223
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人