![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
efine_dxq
这个作者很懒,什么都没留下…
展开
-
LeeCode problem 1. Two Sum
Description 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-01-16 18:08:59 · 206 阅读 · 0 评论 -
LeetCode problem 2. Add Two Numbers
问题描述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 digit. Add the two numbers and re原创 2018-01-16 18:21:27 · 257 阅读 · 0 评论 -
LeetCode problem 4. Median of Two Sorted Arrays
问题描述There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). 找中间数字。例子原创 2018-01-16 18:53:23 · 186 阅读 · 0 评论 -
LeetCode problem 3. Longest Substring Without Repeating Characters
问题描述Given a string, find the length of the longest substring without repeating characters. (找出最长的没有重复字母出现的子串。输出其最长长度。)例子Given “abcabcbb”, the answer is “abc”, which the length is 3.原创 2018-01-16 18:39:20 · 175 阅读 · 0 评论