![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
哈希集合
文章平均质量分 65
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 187. Repeated DNA Sequences(重复DNA序列)
原题网址:https://leetcode.com/problems/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 someti原创 2016-05-25 01:35:57 · 604 阅读 · 0 评论 -
LeetCode 128. Longest Consecutive Sequence(最长连续序列)
原题网址:https://leetcode.com/problems/longest-consecutive-sequence/Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given [100, 4,原创 2016-05-27 00:26:15 · 821 阅读 · 0 评论 -
LeetCode 202. Happy Number(快乐数字)
原题网址:https://leetcode.com/problems/happy-number/Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive原创 2016-05-04 05:56:13 · 1191 阅读 · 0 评论 -
LeetCode 217. Contains Duplicate(检查重复)
原题网址:https://leetcode.com/problems/contains-duplicate/Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in原创 2016-05-06 04:56:24 · 471 阅读 · 0 评论 -
LeetCode 219. Contains Duplicate II(检查重复)
原题网址:https://leetcode.com/problems/contains-duplicate-ii/Given 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] = num原创 2016-05-06 07:16:54 · 389 阅读 · 0 评论 -
LeetCode 47. Permutations II(排列)
原题网址:https://leetcode.com/problems/permutations-ii/Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the followi原创 2016-05-21 05:23:53 · 662 阅读 · 0 评论