![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Leetcode-py
文章平均质量分 51
sigmeta
Peking University / Microsoft
展开
-
004 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)). Example 1: nums1 = [1,原创 2017-07-01 19:23:40 · 181 阅读 · 0 评论 -
001 Two Sum
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 you may not use the sam原创 2017-06-27 19:50:43 · 224 阅读 · 0 评论 -
002 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 return i原创 2017-06-27 19:52:45 · 229 阅读 · 0 评论 -
003 Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the length is 3. Given "bbbbb", the answer is "原创 2017-06-27 19:57:04 · 188 阅读 · 0 评论