
LeetCode
仲夏荧之火
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode-Top K Frequent Elements
leetCode- Top K Frequent Elements Given a non-empty array of integers, return the k most frequent elements. Example 1: Input: nums = [1,1,1,2,2,3], k = 2 Output: [1,2] Example 2: Input: nums = [1], k ...原创 2019-05-05 14:41:46 · 265 阅读 · 0 评论 -
[LeetCode] Longest Substring Without Repeating Characters 最长无重复字符的子串
[LeetCode] Longest Substring Without Repeating Characters 最长无重复字符的子串 Given a string, find the length of the longest substring without repeating characters. Example 1: Input: “abcabcbb” Output: 3 Expla...原创 2019-05-05 15:01:45 · 169 阅读 · 0 评论