### LeetCode解题记录

2 已关注
10篇博文
• #### LeetCode之LCP（Longest Common Prefix）问题

这个也是简单题目，但是关键在于题意的理解。 题目原文就一句话:Write a function to find the longest common prefix string amongst an...

2015-07-17 18:47
1340
• #### LeetCode之Roman & Integer 的转换（简单题）

罗马数字和现在使用的阿拉伯整数之间的转换在LeetCode上一共有两道题目：Roman to Integer 和Integer to Roman 如标题所说的，这是个简单的字符串处理的题目，基本上知...

2015-07-17 15:37
910
• #### LeetCode第八题, String to Integer (atoi)

题目原文 Implement atoi to convert a string to an integer. Hint: Carefully consider all possible inp...

2014-09-07 10:58
1529
• #### LeetCode第七题,Reverse Integer

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

2014-08-08 23:06
1248
• #### LeetCode第六题,ZigZag Conversion

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

2014-08-06 12:15
1511
• #### LeetCode第五题，Longest Palindromic Substring

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

2014-08-05 14:29
3326

题目原文： You are given two linked lists representing two non-negative numbers. The digits are stored...

2014-08-04 21:31
1308
• #### LeetCode 第三题，Longest Substring Without Repeating Characters

题目： Given a string, find the length of the longest substring without repeating characters. For examp...

2014-08-03 20:38
8812
• #### 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 so...

2014-08-02 17:18
2421
• #### LeetCode 第一题，Two Sum

题目还原 Two Sum Given an array of integers, find two numbers such that they add up to a specific targ...

2014-08-01 01:43
2955