### 破解leetcode--ugly_chen

Cracking the Coding Interview, 150 Programming Interview Questions and Solutions。 仔细分析每一道leetcode并给出相应的解答，其题目解答都能在leetcode平台被AC。

1 已关注
14篇博文
• #### leetcode.14----------Longest Common Prefix

题目：Write a function to find the longest common prefix string amongst an array of strings. 找出所...

2015-01-30 12:14
714
• #### leetcode.13---------Roman to Integer

Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 ...

2015-01-30 10:59
730
• #### leetcode.12----------Integer to Roman

Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 ...

2015-01-29 17:38
988
• #### leetcode.11---------Container With Most Water

题目：Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ...

2015-01-29 16:04
655
• #### leetcode.10------------Regular Expression Matching

Implement regular expression matching with support for '.' and '*'. '.' Matches any single character...

2015-01-29 13:17
644
• #### leetcode.9---------------Palindrome Number

Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers...

2015-01-29 10:26
614
• #### leetcode.8---------------String to Integer (atoi)

Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases...

2015-01-28 00:05
608
• #### leetcode.7-----------Reverse Integer

Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 ...

2015-01-27 17:59
617
• #### leetcode-------------ZigZag Conversion

题目：The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: ...

2015-01-27 17:23
761
• #### leetcode-----------Longest Palindromic Substring

题目：Given a string S, find the longest palindromic substring in S. You may assume that the maximu...

2015-01-27 14:41
761
• #### leetcode----------------Median of Two Sorted Arrays

There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted ...

2015-01-07 21:49
714
• #### leetcode-----------Longest Substring Without Repeating Characters

Given a string, find the length of the longest substring without repeating characters. For example, ...

2015-01-26 22:52
742

You are given two linked lists representing two non-negative numbers. The digits are stored in rever...

2015-01-26 22:39
595
• #### leetcode---------------Two Sum

Given an array of integers, find two numbers such that they add up to a specific target number. T...

2015-01-07 19:50
798

redis
91619