- 博客(4)
- 收藏
- 关注
原创 LeetCode---5. Longest Palindromic Substring
Description: 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 an
2017-10-11 17:12:10 300
原创 Leetcode---4.Median of Two Sorted Arrays
Description: 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: nu
2017-10-03 21:43:42 332
原创 Leetcode---2.Add Two Numbers
Description: 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
2017-10-02 20:11:36 242
原创 Leetcode---1.Two Sum
Description: Given an array of integers, return indices of the two numbers such that they add up to a specific target. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2
2017-10-02 17:48:39 223
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人