leetCode
码道缥缈
这个作者很懒,什么都没留下…
展开
-
LEETCODE-4: Median of Two Sorted Arrays
题目 There are two sorted arraysnums1andnums2of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). You may assumenums1a...转载 2019-07-18 13:25:27 · 65 阅读 · 0 评论 -
LEETCODE-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 ...原创 2019-07-17 15:17:41 · 100 阅读 · 0 评论 -
LEETCODE-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-07-17 15:06:37 · 99 阅读 · 0 评论 -
LEETCODE -1: TWOSUM
题目 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 thes...原创 2019-07-17 14:38:05 · 69 阅读 · 0 评论