- 博客(4)
- 收藏
- 关注
原创 [LeetCode]Longest Palindromic Substring(Java)
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example:Input: "babad"Output: "bab"Note: "aba" is also a valid answer.
2016-11-27 16:36:32
273
原创 [LeetCode]Median of Two Sorted Arrays(Java)
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 =
2016-11-27 12:42:52
204
原创 [LeetCode]Add Two Numbers(Java)
You 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 as a link
2016-11-13 19:06:46
201
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人