leetcode题目汇总

以下题目分类内容摘自[LeetCode-分类题解[全].
同时,也记录自己的做题进展。

数组

[Remove Duplicates from Sorted Array] [Remove Duplicates from Sorted Array II] [Remove Element ] [Two Sum] [Search in Rotated Sorted Array] [Search in Rotated Sorted Array II] [Move Zeroes] [Median of Two Sorted Arrays][ Longest Consecutive Sequence][Valid Palindrome][Palindrome Number][Intersection of Two Array][Intersection of Two ArrayII][Major Element II][Max Consecutive Ones][Missing Number][Next Greater Element II][Kth Largest Element in an Array][Top K Frequent Elements][Array Partition][Find All Numbers Disappeared in an Array][leetcode-451][Ugly Number II][Combinations][Combination Sum][Sort Colors][Merge K sorted lists][leetcode-153-Find Minimum in Rotated Sorted Array][Median of Two Sorted Arrays][Sliding Window Median][3-sum][3sum-closet]

链表

[Palindrome Linked List][AddTwoNumbers][ Delete Node in a Linked List][Reverse Linked List][Remove Linked List Elements][Intersection of Two Linked Lists][Remove Nth Node From End of List][Merge Two Sorted Lists][Swap Nodes in Pairs][Remove Duplicates from Sorted List][Linked List Cycle][Linked List Cycle]

字符串

[Longest Common Prefix][Reverse String][Longest Substring Without Repeating Characters][Longest Palindrome][Repeated Substring Pattern][Implement strStr()][Valid Palindrome]

栈和队列

[Next Greater Element I][Implement Queue using Stacks][Implement Stack using Queues][Valid Parentheses][Min Stack][-Evaluate Reverse Polish Notation][Decode String][Basic caculator][Generate Parentheses]

二叉树

[Maximum Depth of Binary Tree][Sum of Left Leaves][Same Tree][Invert Binary Tree][Path Sum][Path Sum II][Find Mode in Binary Search Tree][Path Sum III][Binary Tree Level Order Traversal II][Binary Tree Paths][Minimum Depth of Binary Tree][Balanced Binary Tree][symmetric Tree]

排序

查找

[Two Sum II - Input array is sorted][Search Insert Position]

暴力枚举

BFS

DFS

[Permutations][Permutations II][NextPermutation][Permutation Sequence][Combinations][Combination Sum][N-Queens][N-Queens II][Subsets][Subsets II][Partition to K Equal Sum Subsets]

分治

贪心

[Assign Cookies][Best Time to Buy and Sell Stock II]

动态规划

[Triangle] [Maximum Subarray][Longest Increasing Subsequence][Minimum Path Sum][背包问题][Climbing Stairs][leetcode-416-Partition Equal Subset Sum]

哈希表

[First Unique Character in a String][Major Element][Valid Agram][leetcode-506][Number of Boomerangs][Happy Number][Word Pattern]

位操作

[Convert a Number to Hexadecimal][Hamming Distance][Reverse bits][Single Number][Sum of Two Integers][Find the difference][Single Number II][Single Number III][Number of 1Bits][Total Hamming Distance][Number Complement][Power of Two][Major Element]

系统设计

[Implement Queue using Stacks][Implement Stack using Queues][LRU Cache][ Find Median from Data Stream]

其他

[Count and Say][Fizz Buzz][Find All Numbers Disappeared in an Array][Island Perimeter][Add Digits][ Pascal’s Triangle] [Pascal’s Triangle II][Excel Sheet Column Title][ Excel Sheet Column Number][ Minimum Moves to Equal Array Elements][Contains Duplicate][Construct the Rectangle][Keyboard Row][Add Strings][Base 7][Count Primes][Ugly Number][Power of Three][Pow(x,n)][Power of Four][Reverse Integer][String to Integer][Unique Binary Search Trees]

你可能感兴趣的:(LeetCode刷题)