刷题
Matrix
(*)Sudoku Solver
(*)Spiral Matrix
(*)Matrix Zigzag Traversal
(*)Valid Sudoku
Set Matrix Zeroes
Rotate Image
Search a 2D Matrix
Interval
Meeting Rooms II
Insert Interval
Merge Intervals
Sort
(*)External Sort
(*)Maximum Gap
Bubble Sort
Selection Sort
Insertion Sort (Array)
Insertion Sort (List)
Merge Sort (Array)
Merge Sort (List)
Quick Sort
Kth Largest Element
Median
Largest Number
Array
(*)One Edit Distance
(*)Continuous Subarray Sum
(*)Maximum Size Subarray Sum Equals k
(*)Subarray Sum Closest
(*)Summary Ranges
(*)Missing Ranges
(*)Majority Element II
(*)First Missing Positive
(*)Read N Characters Given Read4
Sparse Matrix Multiplication
Pascal's Triangle II
DFS
(*)Restore IP Addresses
(*)Add and Search Word - Data structure design
(*)Factor Combinations
(*)Palindrome Permutation II
(*)Palindrome Partitioning II
(*)Recover Binary Search Tree
(*)Generalized Abbreviation
(*)Word Break II
Word Search
Subsets II
Flip Game II
Permutations II
Palindrome Partitioning
N-Queens
Longest Increasing Path in a Matrix
BFS
(*)Route Between Two Nodes in Graph
(*)Binary Tree Vertical Order Traversal
(*)Minimum Height Trees
(*)Graph Valid Tree
(*)Walls and Gates
(*)Clone Graph
(*)Course Schedule
(*)Word Ladder II
Topological Sorting
Binary Tree Zigzag Level Order Traversal
Copy List with Random Pointer
Word Ladder
Calculator
(*)Remove Invalid Parentheses
(*)Expression Add Operators
(*)Different Ways to Add Parentheses
(*)Basic Calculator
(*)Expression Evaluation
(*)Basic Calculator II
Longest Valid Parentheses
Binary Representation
Evaluate Reverse Polish Notation
Hash Table
(*)Contains Duplicate III
Bulls and Cows
Unique Word Abbreviation
Word Pattern
Isomorphic Strings
Group Shifted Strings
Two Sum III - Data structure design
Binary Search Tree
(*)Remove Node in Binary Search Tree
(*)Inorder Successor in BST
(*)Median of Two Sorted Arrays
(*)Find the Duplicate Number
(*)Closest Binary Search Tree Value
(*)Smallest Rectangle Enclosing Black Pixels
(*)Insert Node in a Binary Search Tree
Wood Cut
Find Minimum in Rotated Sorted Array II
Count Complete Tree Nodes
Data Structure
(*)LRU Cache
(*)Design a Hash Table
Flatten 2D Vector
Peeking Iterator
Zigzag Iterator
Implement Stack using Queues
String
(*)Encode and Decode Strings
(*)Count and Say
(*)Reverse Words in a String
Compare Version Numbers
Reverse Words in a String II
Palindrome Permutation
Shortest Word Distance
Shortest Word Distance III
Shortest Word Distance II
Two Pointers
(*)k Sum
(*)Wildcard Matching
(*)Regular Expression Matching
Move Zeroes
Trapping Rain Water
Remove Duplicates from Sorted Array II
Minimum Size Subarray Sum
Two Sum II - Input array is sorted
3Sum Smaller
3Sum Closest
Binary Tree
(*)Binary Tree Serialization
Count Univalue Subtrees
Binary Tree Postorder Traversal
Construct Binary Tree from Preorder and Inorder Traversal
Construct Binary Tree from Inorder and Postorder Traversal
Populating Next Right Pointers in Each Node
Find Leaves of Binary Tree
Greedy
(*)Previous Permutation
(*)Jump Game II
Gas Station
Delete Digits
Next Permutation
Jump Game
Candy
Heap
(*)Find Median from Data Stream
Merge k Sorted Lists
Bit Manipulation
(*)Reverse Bits
(*)Update Bits
(*)Maximum Product of Word Lengths
Single Number II
Single Number III
Bitwise AND of Numbers Range
Linked List
(*)Reverse Linked List
(*)Reverse Nodes in k-Group
(*)Remove Duplicates from Sorted List II
(*)Rotate List
(*)Reorder List
(*)Odd Even Linked List
Remove Linked List Elements
Convert Sorted List to Balanced BST
Palindrome Linked List
Math
(*)Power of Three
(*)Permutation Index
(*)Permutation Sequence
(*)Integer to English Words
(*)Multiply Strings
(*)Max Points on a Line
(*)Strobogrammatic Number II
(*)Valid Number
Fast Power
Hash Function
Sqrt(x)
Digit Counts
Best Meeting Point
Strobogrammatic Number
Excel Sheet Column Title
Find the Celebrity
Longest subsequence/substring
(*)Binary Tree Longest Consecutive Sequence
(*)Longest Increasing Subsequence
(*)Longest Common Subsequence
(*)Longest Common Substring
Longest Substring Without Repeating Characters
Longest Substring with At Most Two Distinct Characters
Longest Substring with At Most K Distinct Characters
Longest Consecutive Sequence
Longest Increasing Continuous Subsequence
Longest Common Prefix
Lowest Common Ancestor
Lowest Common Ancestor of a Binary Search Tree
Longest Palindromic Substring
Dynamic Programming
(*)Interleaving String
Maximal Square
Unique Binary Search Trees
Unique Binary Search Trees II
House Robber
House Robber II
Ugly Number
Super Ugly Number
Minimum Path Sum
Unique Paths
Unique Paths II
Best Time to Buy and Sell Stock III
Maximum Product Subarray
Edit Distance
Distinct Subsequences
Word Break
Backpack
Maximum Subarray II
Coin Change
Decode Ways
Range Sum Query - Immutable
Range Sum Query 2D - Immutable
Paint Fence
Paint House
Perfect Squares
Union Find
Number of Connected Components in an Undirected Graph
Java基础知识
Design Pattern 学习
Factory Pattern
Abstract Factory Pattern
MVC pattern
Agile Software Development
Observer Pattern
OO Design
Minesweeper Game
Deck of Cards
熟悉的
(*)Count Primes
(*)String to Integer
(*)Pow(x, n)
(*)Minimum Depth of Binary Tree
(*)Longest Words
(*)Validate Binary Search Tree
(*)Gray Code
(*)Letter Combinations of a Phone Number
(*)Happy Number
Meeting Rooms
Combination Sum
Path Sum II
Factorial Trailing Zeroes
Flatten Binary Tree to Linked List
Surrounded Regions
Number of Islands
Subarray Sum
Implement Trie
Reverse Linked List II
Contains Duplicate II
Missing Number
Rectangle Area
Product of Array Except Self
Bulb Switcher
Flip Game
The Smallest Difference
Sort Letters by Case
Partition Array
Partition Array by Odd and Even
Spiral Matrix II
Search a 2D Matrix II
Rotate String
Unique Characters
Wiggle Sort
Recover Rotated Sorted Array
Maximum Subarray
Binary Tree Maximum Path Sum
Subtree
Search Insert Position
Flip Bits
Reverse Integer
A + B Problem
Powered by
GitBook
BFS
BFS