![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
efan_
这个作者很懒,什么都没留下…
展开
-
K-SUM 算法及子问题 2-SUM、3-SUM、4-SUM
2-SUM 问题Question Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and ...原创 2018-07-05 15:44:33 · 3217 阅读 · 1 评论 -
优秀的程序猿解题之LeetCode 第二题:Add Two Number
Tips:所有代码实现包含三种语言(java、c++、python3)题目You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single ...原创 2019-03-08 19:27:44 · 255 阅读 · 0 评论 -
优秀的程序猿解题之LeetCode 第一题:Two Sum
Tips:所有代码实现包含三种语言(java、c++、python3)题目Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one s...原创 2019-03-06 20:00:30 · 198 阅读 · 0 评论 -
优秀的程序猿解题之 LeetCode 第三题:Longest Substring Without Repeating Characters
Tips:所有代码实现包含三种语言(java、c++、python3)题目Given a string, find the length of the longest substring without repeating characters.给定字符串,找到最大无重复子字符串。样例Input: "abcabcbb"Output: 3 Explanation: The answer...原创 2019-03-20 17:39:25 · 360 阅读 · 0 评论