- 博客(4)
- 收藏
- 关注
原创 Leetcode problem 4:Median of Two Sorted Arrays
DescriptionThere 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)).SolutionMedian(中位数
2016-02-27 15:25:30
363
原创 Leetcode Problem 3: Longest non-repeated substring(LNRS).
Description: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for “abcabcbb” is “abc”, which the len
2016-02-17 10:14:59
358
原创 Leetcode Problem 2: Add Two numbers
DescriptionYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it
2016-02-16 13:22:01
293
原创 Leetcode Problem 1: Two sum
DescriptionGiven 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.Example: Given nums
2016-02-16 13:07:27
284
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人