LeetCode
文章平均质量分 91
黑山白雪m
私信不回
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Python 编程进阶经典算法逻辑编程 剑指Offer
1.找到数组中重复数字(字符),返回出现频次最多字典方法,时间复杂度O(N) +O(1)def maxf(x): a = dict() max = 0 for i in x: tem = str(i) a[tem] = a.get(tem,0) + 1 if max < a[tem]:...原创 2017-10-29 15:49:35 · 4470 阅读 · 0 评论 -
LeetCode Python
[LeetCode] 3. Longest Substring Without Repeating Characters 最长无重复字符的子串Given a string, find the length of the longest substring without repeating characters.Example 1:Input: "abcabcbb"O...原创 2020-04-12 10:50:34 · 211 阅读 · 0 评论
分享