刷题笔记
Introduction
Important Problems
DFS (Back Tracking)
Back Tracking - 分页符
Subsets
Subsets II
Permutations
Permitations II
Permutation Sequence
Combinations
Combination Sum
Combination Sum II
Combination Sum III
Restore IP Addresses
Generate Parentheses
Letter Combination of a Phone Number
Parlindrome Partitioning
NQueens
NQueens II
Word Search
Word Search II
Word Break
Word Break II
Word Pattern II
Normal DFS - 分页符
Nested List Weight Sum
Binary Search
Search Insertion Position
Total Occurence of Target
Closest Number in Sorted Array
K Closest Number in Sorted Array
Search a 2D Matrix
Search a 2D Matrix II
First Position of Target
Last Position of Target
Classical Bianry Search
Search in a Big Sorted Array
Search in Rotated Sorted Array
Search in Rotated Sorted Array II
Find Minimum in Rotated Sorted Array
Find Minimum in Rotated Sorted Array II
Find Peak Element
First Bad Version
Search for Range
Wood Cut
Binary Tree
DFS - 分页符
Binary Tree Preorder Traversal
Binary Tree Inorder Traversal
Binary Tree Postorder Traversal
Construct Binary Tree from Preorder and Inorder Traversal
Construct Binary Tree from Inorder and Postorder Traversal
Maximum Depth of Binary Tree
Minimum Depth of Binary Tree
Binary Tree Path Sum
Binary Tree Maximum Path Sum
Binary Tree Maximum Path Sum II
Inorder Successor in Binary Search Tree
Validate Binary Search Tree
Balanced Binary Tree
Lowest Common Ancestor
Lowest Common Ancestor II
Identical Binary Tree
Tweaked Identical Binary Tree
Symmetric Binary Tree
Complete Binary Tree
Insert Node in Binary Search Tree
Binary Search Tree Iterator
Search Range in Binary Search Tree
Binary Tree Serialization
Remove Node in Binary Search Tree
BFS - 分页符
Binary Tree Levelorder Traversal
Binary Tree Levelorder Traversal II
Binary Tree Zigzag Level Order Traversal
Binary Tree Right Side View
Dynamic Programming
Unique Binary Search Trees
Unique Binary Search Trees II
坐标型 - 分页符
Climbing Stairs
House Robber
Triangle
Unique Path
Unique Path II
Minimum Path Sum
Jump Game
Jump Game II
Longest Increasing Subsequence
单序列型 - 分页符
Palindrome Partitioning II
Word Break
双序列型 - 分页符
Longest Common Subsequence
Edit Distance
Distinct Subsequence
Interleaving String
背包型
Backpack
Backpack II
Minimum Adjustment Cost
K sum
区间型
Stone Game
Burst Balloons
Scramble String
划分型
Best Time to Buy and Sell Stock IV
Maximum Subarray III
博弈型
Coins in a Line
Coins in a Line II
Coins in a Line III
Linked List
Middle of Linked List
Delete Node in the Middle of Singly Linked List
Remove Linked List Element
Remove Nth Node From End of List
Nth to Last Node in List
Swap Nodes in Pairs
Swap Two Nodes in Linked List
Add Two Numbers
Add Two Numbers II
Partition List
Insertion Sort List
Merge Two Sorted Lists
Reverse Linked List
Reverse Linked List II
Reverse Nodes in K-Group
Remove Duplicates From Sorted List
Remove Duplicates From Sorted List II
Remove Duplicates From Unsorted List
Linked List Cycle
Linked List Cycle II
Intersection of Two Linked List
Convert Sorted List to Balanced BST
Convert Binary Search Tree to Doubly Linked List
Palindrome Linked List
Sort List
Reorder List
Rotate List
Merge K Sorted Lists
Copy List with Random Pointer
Arrays
Sorted Array - 分页符
Merge Two Sorted Arrays
Merge Two Sorted Array II
Sort Colors
Sort Colors II
Sort Letters by Cases
Partition Array
Median of two Sorted Arrays
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array II
First Missing Position
Subarray Sum - 分页符
Subarray Sum
Subarray Sum Closest
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock III
Minimum Subarray
Maximum Subarray
Maximum Subarray II
Maximum Subarray Difference
Maximum Product Subbarray
Product of Array Exclude Itself
Two Pointers - 分页符
Two Sum
Two Sum II
Two Sum Closest
Remove Element
3Sum
3Sum Closest
4Sum
Intersection of Two Arrays
Intersection of Two Arrays II
Triangle Count
kth Largest Element
Trapping Rain Water
Container with Most Water
Intervals - 分页符
Merge Intevals
Insert Intervals
Number of Airplanes in the Sky
Building Outline
Strings
Reverse String
Two Strings Are Anagrams
Compare Strings
Anagrams
Longest Common Prefix
Numbers
O(1) Check Power of 2
Fibonacci
Pow(x, n)
Sqrt(x)
Single Number
Single Number II
Single Number III
Majority Number
Majority Number II
Majority Number III
Happy Number
Ugly Number
Ugly Number II
Super Ugly Number
Gray Code
Trailing Zeros
Hash
Hash Function
Contains Duplicates
Word Pattern
Word Pattern II
Max Points on a Line
Stack
Implement Stack
Implement Stack by Two Queues
Valid Parentheses
Min Stack
Stack Sorting
Queue
Moving Average from Data Stream
Implement Queue by Interface
Implement Queue by Linked List
Implement Queue by Linked List II
Implement Queue by Two Stacks
Deque
Sliding Window Maximum
Sliding Window Matrix Maximum
Heap (pQueue)
Top K Largest Numbers
Top K Largest Numbers II
Top K Frequent Words
Kth Largest in N Arrays
Kth Smallest Number in Sorted List
Merge K Sorted Arrays
Merge K Sorted Lists
Heapify
Data Stream Median
Sliding Window Median
Trapping Rain Water II
BFS (Graph)
Number of Islands
Six Degrees
Clone Graph
Topological Sorting
Find the Connected Component in the Undirected Graph
Number of Connected Components in an Undirected Graph (Leetcode)
Surrounded Regions
Perfect Squares
Course Schedule
Course Schedule II
Minimum Height Trees
Walls and Gates
Graph Valid Tree
Route Between Two Nodes in Graph
Word Ladder
Word Ladder II
Remove Invalid Parentheses
Shortest Distance from All Buildings
Bit Manipulation
Flip Bits
Update Bits
Fast Power
Sort
Comparator - 分页符
Meeting Rooms
Number of Airplanes in The Sky
O(nlogn) - 分页符
Quick Sort
Merge Sort
O(n^2) - 分页符
Counting Sort
Bubble Sort
Greedy
Jump Game
Jump Game II
Meeting Rooms II
Powered by
GitBook
Introduction
刷题笔记
第一次听说gitbook是因为看了其他同学写的“lintcode题解”,感觉这种分类的方式似乎不错,于是自己决心尝试。将题目合理分类总结,准备模板,提高刷题效率,加快速度!
results matching "
"
No results matching "
"