![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Leetcode
来一串82年de葡萄干
Make your life be beautiful like summer flowers
展开
-
[2019-04-03] LeetCode: 3. Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters.Example 1:Input: “abcabcbb”Output: 3Explanation: The answer is “abc”, with the length of 3.Example 2:Input: ...原创 2019-04-03 22:15:12 · 95 阅读 · 0 评论 -
[2019-04-04] LeetCode: 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)).You may assume nums1 and num...原创 2019-04-04 10:08:01 · 73 阅读 · 0 评论 -
[2019-04-02] LeetCode: 1. Two Sum
1. Two SumGiven 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...原创 2019-04-02 17:10:23 · 139 阅读 · 0 评论