leetcode算法
cabbage1bj
这个作者很懒,什么都没留下…
展开
-
2.Add two numbers
You are given twonon-emptylinked lists representing two non-negative integers. The digits are stored inreverse orderand each of their nodes contain a single digit. Add the two numbers and return i...原创 2019-04-26 13:48:35 · 72 阅读 · 0 评论 -
3.Longest Substring Without Repeating Characters
Given a string, find the length of thelongest substringwithout repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: ...原创 2019-04-30 08:56:53 · 76 阅读 · 0 评论 -
1.two sum
Given an array of integers, returnindicesof the two numbers such that they add up to a specific target. You may assume that each input would haveexactlyone solution, and you may not use thesame...原创 2019-04-25 17:17:02 · 83 阅读 · 0 评论