7 Reverse Integer链接:https://leetcode.com/problems/reverse-integer/
问题描述:
Reverse digits of an integer.Example1: x = 123, return 321
Example2: x = -123, return -321click to show spoilers.Have you th...
分类:
其他好文 时间:
2015-06-23 18:06:57
阅读次数:
90
Maximum Subarray: https://leetcode.com/problems/maximum-subarray/
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [...
分类:
其他好文 时间:
2015-06-23 13:40:52
阅读次数:
145
题目链接:https://leetcode.com/problems/3sum-closest/
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three i...
分类:
其他好文 时间:
2015-06-22 17:56:00
阅读次数:
110
题目链接:https://leetcode.com/problems/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 sum o...
分类:
其他好文 时间:
2015-06-22 17:55:41
阅读次数:
90
Cube点我Problem DescriptionCowl is good at solving math problems. One day a friend asked him such a question: You are given a cube whose edge length is ...
分类:
其他好文 时间:
2015-06-21 20:54:22
阅读次数:
183
题目链接:https://leetcode.com/problems/regular-expression-matching/
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more...
分类:
其他好文 时间:
2015-06-21 18:38:10
阅读次数:
215
Valid Palindrome : https://leetcode.com/problems/valid-palindrome/Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,
“A man, a pl...
分类:
其他好文 时间:
2015-06-21 18:34:26
阅读次数:
110
题目链接:https://leetcode.com/problems/palindrome-number/
Determine whether an integer is a palindrome. Do this without extra space.
click to show spoilers.
Some hints:
Could negative inte...
分类:
其他好文 时间:
2015-06-21 15:52:27
阅读次数:
145
原题链接:https://leetcode.com/problems/longest-palindromic-substring/
Given a string S,
find the longest palindromic substring inS.
You may assume that the maximum length of S is
1000, and ther...
分类:
其他好文 时间:
2015-06-21 14:33:22
阅读次数:
119
原题链接:https://leetcode.com/problems/zigzag-conversion/
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like
this: (you may want to display this pattern i...
分类:
其他好文 时间:
2015-06-21 14:28:48
阅读次数:
153