
leetcode(Top100)
Edson121
A boy who won't stand up for himself becomes a boy who can't stand up to anything.
展开
-
1.Two Sum
ProblemGiven 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 you may not use th...原创 2019-05-20 10:19:32 · 171 阅读 · 0 评论 -
2.Add Two Numbers
ProblemYou 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 digit. Add the two numbers and ...原创 2019-05-20 10:22:12 · 191 阅读 · 0 评论 -
3. Longest Substring Without Repeating Characters
ProblemGiven a string, find the length of the longest substring without repeating characters.说明:给定一个字符串,找出其中最长且无重复字符的子串。[Example]Input: "abcabcbb"Output: 3 Explanation: The answer is "abc", with...原创 2019-05-20 10:25:00 · 147 阅读 · 0 评论