### LeetCode专栏

4 已关注
37篇博文
• #### LeetCode 29 - Divide Two Integers

一、问题描述 Description:Description: Divide two integers without using multiplication, division an...

2015-05-25 01:31
949
• #### LeetCode 28 - Implement strStr()

一、问题描述 Description:Description: Implement strStr(). Returns the index of the first occur...

2015-05-24 23:32
1357
• #### LeetCode 27 - Remove Element

一、问题描述 Description:Description: Given an array and a value, remove all instances of that valu...

2015-05-24 10:42
1069
• #### LeetCode 26 - Remove Duplicates from Sorted Array

一、问题描述 Description:Description: Given a sorted array, remove the duplicates in place such tha...

2015-05-24 10:27
620
• #### LeetCode 25 - Reverse Nodes in k-Group

一、问题描述 Description:Description: Given a linked list, reverse the nodes of a linked list kk at...

2015-05-24 09:57
1163
• #### LeetCode 24 - Swap Nodes in Pairs

一、问题描述 Description:Description: Given a linked list, swap every two adjacent nodes and return...

2015-05-24 08:55
1274
• #### LeetCode 23 - Merge k Sorted Lists

一、问题描述 Description:Description: Merge k sorted linked lists and return it as one sorted list....

2015-05-24 01:42
1422
• #### LeetCode 22 - Generate Parentheses

一、问题描述 Description:Description: Given n pairs of parentheses, write a function to generate al...

2015-05-20 19:20
1030
• #### LeetCode 21 - Merge Two Sorted Lists

一、问题描述 Description:Description: Merge two sorted linked lists and return it as a new list. Th...

2015-05-20 18:09
1929
• #### LeetCode 20 - Valid Parentheses

一、问题描述 Description:Description: Given a string containing just the characters '(', ')', '{', ...

2015-05-20 17:48
1420
• #### LeetCode 19 - Remove Nth Node From End of List

一、问题描述 Description:Description: Given a linked list, remove the nthn^{th} node from the end o...

2015-05-20 13:34
728
• #### LeetCode 18 - 4Sum

一、问题描述 Description:Description: Given an array S of n integers, are there elements a, b, c, a...

2015-05-20 12:49
1492
• #### LeetCode 17 - Letter Combinations of a Phone Number

一、问题描述 Description:Description: Given a digit string, return all possible letter combinations...

2015-05-20 11:25
1417
• #### LeetCode 16 - 3Sum Closest

一、问题描述 Description:Description: Given an array S of n integers, find three integers in S such...

2015-05-19 21:11
1414
• #### LeetCode 15 - 3Sum

一、问题描述 Description:Description: Given an array S of n integers, are there elements a, b, c ...

2015-05-19 20:03
3435
• #### LeetCode 14 - Longest Common Prefix

一、问题描述 Description:Description: Write a function to find the longest common prefix string amo...

2015-05-19 14:10
563
• #### LeetCode 13 - Roman to Integer

一、问题描述 Description:Description: Given a roman numeral, convert it to an integer. Input is ...

2015-05-19 12:20
1045
• #### LeetCode 12 - Integer to Roman

一、问题描述 Description:Description: Given an integer, convert it to a roman numeral. Input is ...

2015-05-19 11:46
927
• #### LeetCode 11 - Container With Most Water

一、问题描述 Description:Description: Given nn non-negative integers a1,a2,...,ana_1, a_2, ..., a_n...

2015-05-19 10:00
654
• #### LeetCode 10 - Regular Expression Matching

一、问题描述 Description:Description: Implement regular expression matching with support for '.' an...

2015-05-19 01:15
2024