- 博客(4)
- 收藏
- 关注
原创 Median of Two Sorted Arrays - LeetCode
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...
2018-12-03 13:34:47 69 1
原创 Longest Substring Without Repeating Characters - LeetCode
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: “abcabcbb” Output: 3 Explanation: The answer is “abc”, with the length of 3. Example 2: Input: ...
2018-12-02 19:48:49 75
原创 Add Two Numbers - LeetCode
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...
2018-12-02 16:53:09 113
原创 Two Sum - LeetCode
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 same e...
2018-12-02 01:40:13 89
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人