摘要:
336 Palindrome Pairs Given a list of unique words, find all pairs of distinct indices in the given list, so that the concatenation of the two words, i
阅读全文
posted @ 2016-12-02 23:33
vingo278
阅读(227)
推荐(0)
摘要:
214 Shortest Palindrome Given a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the short
阅读全文
posted @ 2016-11-28 20:07
vingo278
阅读(245)
推荐(0)
摘要:
445 Add Two Numbers II You are given two linked lists representing two non negative numbers. The most significant digit comes first and each of their
阅读全文
posted @ 2016-11-28 02:10
vingo278
阅读(1560)
推荐(0)
摘要:
5 Longest Palindromic Substring Given a string s , find the longest palindromic substring in s . You may assume that the maximum length of s is 1000.
阅读全文
posted @ 2016-11-28 02:07
vingo278
阅读(216)
推荐(0)
摘要:
4 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
阅读全文
posted @ 2016-11-28 01:58
vingo278
阅读(201)
推荐(0)
摘要:
3 Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Examples: 题解 假
阅读全文
posted @ 2016-11-28 01:57
vingo278
阅读(114)
推荐(0)
摘要:
Add Two Numbers You are given two linked lists representing two non negative numbers. The digits are stored in reverse order and each of their nodes c
阅读全文
posted @ 2016-11-28 01:55
vingo278
阅读(114)
推荐(0)
摘要:
15 3Sum Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the
阅读全文
posted @ 2016-11-28 01:48
vingo278
阅读(130)
推荐(0)
摘要:
1 TwoSum 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 woul
阅读全文
posted @ 2016-11-28 01:46
vingo278
阅读(137)
推荐(0)