首页 > 代码库 > LeetCode合集

LeetCode合集

一 线性表

1.1  数组

1.1.1 Remove Duplicates from Sorted Array
1.1.2 Remove Duplicates from Sorted Array II
1.1.3 Search in Rotated Sorted Array
1.1.4 Search in Rotated Sorted Array II
1.1.5 Median of Two Sorted Arrays
1.1.6 Longest Consecutive Sequence
1.1.7 3Sum
1.1.8 3Sum Closest
1.1.9 4Sum
1.1.10 Remove Element
1.1.11 Next Permutation
1.1.12 Permutation Sequence
1.1.13 Valid Sudoku
1.1.14 Trapping Rain Water
1.1.15 Rotate Image
1.1.16 Plus One
1.1.17 Climbing Stairs
1.1.18 Gray Code
1.1.19 Set Matrix Zeroes
1.1.20 Gas Station
1.1.21 Candy
1.1.22 Single Number
1.1.23 Single Number II

1.2 单链表

1.2.1 Add Two Numbers
1.2.2 Reverse Linked List II
1.2.3 Partition List
1.2.4 Remove Duplicates from Sorted List
1.2.5 Remove Duplicates from Sorted List II
1.2.6 Rotate List
1.2.7 Remove Nth Node From End of List
1.2.8 Swap Nodes in Pairs
1.2.9 Reverse Nodes in k-Group
1.2.10 Copy List with Random Pointer
1.2.11 Linked List Cycle
1.2.12 Linked List Cycle II
1.2.13 Reorder List
1.2.14 LRU Cache

二 字符串

2.1 Valid Palindrome
2.2 Implement strStr()
2.3 String to Integer (atoi)
2.4 Add Binary
2.5 Longest Palindromic Substring
2.6 Regular Expression Matching
2.7 Wildcard Matching
2.8 Longest Common Prefix













更新中.........