LeetCode in Python&Java
Introduction
Python Language Feature
Comparator
List features
Swap feature
bisect
Stack
Max Tree
Simplify Path
Next Greater Element I, II
Valid Parentheses
Largest Rectangle in Histogram
Min Stack
Evaluate Reverse Polish Notation
Implement Stack(Queue) using Queues(Stacks)
Basic Calculator I, II, III
Verify Preorder Serialization of a Binary Tree
Decode String
栈压入、弹出序列
Construct Binary Tree from String
Ternary Expression Parser
Flatten Nested List Iterator
Tree
Binary Tree Traversal
Preorder Traversal
Inorder Traversal
Postorder Traversal
Levelorder Traversal
Inorder Successor
Binary Tree Upside Down
Binary Tree Leaves Order Traversal
Binary Tree Vertical Order Traversal
Inorder Successor in BST
Same Tree, Sym Tree
Maximum Depth of Binary Tree, Min depth of tree
Balanced Binary Tree
Path Sum, Path Sum II
Flatten Binary Tree to Linked List
Populating Next Right Pointers in Each Node I, II
Sum Root to Leaf Numbers
Binary Tree Upside Down
Binary Tree Right Side View
Invert Binary Tree
Kth Smallest Element in a BST
Lowest Common Ancestor of a Binary Tree(BST)
Count Univalue Subtrees
Binary Tree Paths
Binary Tree Longest Consecutive Sequence
Delete Node in a BST
Find Leaves of Binary Tree
Serialize and Deserialize Binary Tree
Sum of Left Leaves
Path Sum III
Most Frequent Subtree Sum
Convert BST to Greater Tree
Diameter of Binary Tree
Binary Tree Tilt
Subtree of Another Tree
Find Mode in Binary Search Tree
Closest Binary Search Tree Value
Unique Binary Search Trees II
Trim a Binary Search Tree
Maximum Binary Tree
Binary Tree Maximum Path Sum
Basic Data Structure
Heap
Binary Search Tree
Delete Node in a BST
Inorder Successor
Validate Binary Search Tree
Recover Binary Search Tree
String
Shortest Palindrome
Manacher Algo
Next Greater Element III
Next permutation
Longest Common Prefix
Count and Say
Encode and Decode Strings
One Edit Distance
Reverse Words in a String II
Flip Game
License Key Formatting
Repeated Substring Pattern
Detect Capital
Longest Uncommon Subsequence II
Complex Number Multiplication
Minimum Time Difference
Reverse String II
Judge Route Circle
Student Attendance Record I
Valid Word Abbreviation
Text Justification
Binary Search
Binary Search Template
Maximum Average Subarray
Find Minimum in Rotated Sorted Array I, II
Find Peak Element
Search 2D matrix I, II
Search Insert Position
Pow(x, n)
Count Complete Tree Nodes
Closest Binary Search Tree Value
First Bad Version
Find the Duplicate Number
Smallest Rectangles Enclosing Black Pixels
Guess Number Higher or Lower
Arrange Coins
Heaters
Split Array Largest Sum
Single Element in a Sorted Array
Search in Rotated Sorted Array I
Search for a Range
Dynamic Programming
Game DP
Coins in a line I, II, III
House Robber I, II
Coordinate DP
Target Sum
Longest Valid Parentheses
Paint Fence
Paint House I, II
Bomb Enemy
Unique Paths I, II
Maximal Square
Arithmetic Slices
Delete Operation for Two Strings
Interval DP
Stone Game I, II
Palindrome Partition II
Burst Ballons
Scramble String
Longest Palindromic Subsequence
Palindromic Substrings
Match DP
Wildcard Matching
Regular Expression Matching
Interleaving String
Distinct Subsequences
Edit Distance
Find the Derangement of An Array
Maximum Length of Repeated Subarray
Classical DP
Coin Change
LIS
Knapsack DP
Ones and Zeroes
Backpack
K Sum
Partition Equal Subset Sum
Bit DP
Counting Bits
Sequence DP
Russian Doll Envelopes
Longest Common Subsequence
Decode Ways
Unique Binary Search Trees
Word Break I, II
Triangle
Coin Change
Largest Divisible Subset
Combination Sum IV
Continuous Subarray Sum
Perfect squares
Longest Increasing Subsequence
Memoization
Longest Increasing Path in a Matrix
BFS
Frog Jump
Minimum Height Trees
Clone Graph
Word Ladder
Walls and Gates
Surrounded Regions
Battleships in a Board
Island Perimeter
Find Bottom Left Tree Value
Mine Sweeper
01 Matrix
Kill Process
Zombie in Matrix
Employee Importance
The Maze
Two Pointer
3sum
4sum
Dutch Flag
Triangle Count
Two Sum II
Longest Substring Without Repeating Characters
Container With Most Water
3Sum Closest
Remove Duplicates from Sorted Array
Remove Element
Substring with Concatenation of All Words
Trapping Rain Water
Minimum Window Substring
Merge Sorted Array
Valid Palindrome I, II
Longest Substring with At Most Two Distinct Characters
Minimum Size Subarray Sum
3Sum Smaller
Move Zeroes
Longest Substring with At Most K distinct characters
Reverse Vowels of a String
Max Consecutive Ones II
Permutation in String
DFS
N Queens
Palindrome Partition
House Robber III
Number of Islands
Nested List Weight Sum I, II
Matchsticks to Square
Union Find
Number of Connected Components in an Undirected Graph
Longest Consecutive Sequence
Graph Valid Tree
Friend Circles
Subarray
Continuous Subarray Sum could be divided by k
Shortest Unsorted Continuous Subarray
Continuous Subarray Sum(Return index)
Maximum Subarray
Maximum Product Subarray
Divide and Conquer
Quick Select
Median of Two Sorted Arrays
Convert Sorted Array to Binary Search Tree
Convert Sorted List to Binary Search Tree
Construct Binary Tree from Inorder and Preorder/Postorder Traversal
Count Smaller after self
Longest Substring with At least K repeating characters
Java
Interface operation table
常用简化代码的技巧
Geometry
Erect the Fence
Convex Polygon
Valid Square
Backtracking
Increasing Subsequence
Letter Combinations of a Phone Number
Generate Parentheses
Combination Sum I, II, III
Palindrome Partitioning
N-Queens I, II
Permutations I, II
Combinations
Subsets I, II
Factorization
Word Search
Expression Add Operators
Restore IP Addresses
Word Pattern II
Beautiful Arrangement
Sudoku Solver
Android Unlock Pattern
Math
Sort Transformed Array
Minimum moves to equal element II
Big Integer Addition
Reverse Integer
Palindrome Number
Plus One
Maximum Product of Three Numbers
Excel Sheet Column Number, vice
Factorial Trailing Zeroes
Happy Number
Rectangle Area
Strobogrammatic Number II
Add Digits
Ugly Number I, II
Missing Number
Bulb Switcher
Power of Three
Integer Break
Valid Perfect Square
Rotate Function
Integer Replacement
Add Strings
Minimum Moves to Equal Array Elements I, II
Construct the Rectangle
Base 7
Perfect Number
Squirrel Simulation
Range Addition II
Super Washing Machines
Count Primes
Amicable Pair
Bit Integer Multiplication
Max Points on a Line
Divide Two Integers
Fraction to Recurring Decimal
Simulation
atoi
Basic Calculator II
Isomorphic String
Check Word Abbreviation
Word Abbreviation
Unique Word Abbreviation
Validate IP Address
Hash Table
Top K Frequent Elements
Two Sum I, III
Group Anagrams
Find All Anagrams in a String
Isomorphic Strings
Valid Anagram
Shortest Word Distance II
Strobogrammatic Number I, II, III
Group Shifted Strings
Palindrome Permutation I, II
Word Pattern
Bulls and Cows
Maximum Size Subarray Sum Equals k
Longest Palindrome
Find All Anagrams in a String
Sort Characters By Frequency
Keyboard Row
K-diff Pairs in an Array
Contiguous Array
Subarray Sum Equals K
Distribute Candies
Longest Harmonious Subsequence
Minimum Index Sum of Two Lists
Valid Sudoku
Palindrome Pairs
Set Mismatch
Bit manipulation
A + B
Single Number I, II, III
Reverse Bits
Number of 1 Bits
Power of Two
Power of Four
Convert a Number to Hexadecimal
Hamming Distance, Total Hamming Distance
Number Complement
Maximum Product of Word Lengths
Gray Code
Binary Number with Alternating Bits
Sort
Largest Number
Construct the minimum number
Wiggle Sort
Queue Reconstruction by Height
Relative Ranks
Longest Word in Dictionary through Deleting
Special type
First Missing Positives
Increasing Triplet Subsequence
Missing Number
ZigZag Conversion
Integer Roman
Rotate Image
Spiral Matrix
Find the Celebrity
Missing Range
Longest Absolute File Path
Majority Element I, II
Product of Array Except Self
H-Index I, II
扑克牌顺子
Valid Word Square
Sweep Line
Add Bold Tag in String
Merge Intervals
Meeting Rooms I, II
Range Addition
Sequence Problem
Best Time to buy and sell stock
MySQL
Not Boring Movies
Big Countries
Shortest Distance in a Line
Shortest Distance in a Plane
Linked List
Add Two Numbers I, II
Remove Nth Node From End of List
Merge Two Sorted Lists
Merge K Sorted Lists
Rotate List
Remove Duplicates from Sorted List
Partition List
Linked List Cycle I, II
Copy List with Random Pointer
Reorder List
Insertion Sort List
Intersection of Two Linked Lists
Sort List
Remove Linked List Elements
Palindrome Linked List
Odd Even Linked List
Plus One Linked List
Random Algorithm
Random Pick Index
Shuffle an Array
Design
Unique Word Abbreviation
Load Balancer
Binary Search Tree Iterator
Flatten 2D vector
Zigzag Iterator
Peeking Iterator
Range Sum Query - Immutable
Range Sum Query 2D - Immutable
Design Tic-Tac-Toe
Logger Rate Limiter
Design Phone Directory
Insert Delete GetRandom O(1)
Design Hit Counter
Array
Pascal's Triangle I, II
Shortest Word Distance I, III
Set Matrix Zeroes
Game of Life
Array Nesting
Find All Duplicates in an Array
Find All Numbers Disappeared in an Array
Max Consecutive Ones
Teemo Attacking
Diagonal Traverse
Lonely PIxel I
Reshape the Matrix
Shortest Unsorted Continuous Subarray
Maximum Average Subarray I
Longest Continuous Increasing Subsequence
Third Maximum Number
Greedy
Gas Station
Patching Array
Is Subsequence
Assign Cookies
Find Permutation
Jump Game I, II
Remove K digits
Mini System Design
Mini Cassandra
LRU Cache
Consistent Hashing I, II
Custom URL
Encode and Decode TinyURL
Inverted Index Map Reduce
Word Count (Map Reduce)
Anagram (Map Reduce)
Geo Hash I, II
Mini Twitter
Memcache
Standard Bloom Filter
Graph/Topological Sort
Course Schedule I, II
Alien Dictionary
Heap
Sliding Window Maximum
Find Median from Data Stream
Top K Frequent Elements
Find K paris with smallest sums
Trapping Rain Water II
Kth Smallest Element in a Sorted Matrix
K closes points
Top K frequent words
Recursion
Output Contest Matches
Advanced Data Structure
Segment Tree
Union Find Set
Number of Islands II
Trie
Word Search II
Add and Search Word - Data Structure Design
Implement Magic Dictionary
Minimum Spanning Tree
Binary Indexed Tree
Advanced Algorithm
A* Search
Dijkstra Algorithm
Powered by
GitBook
Sequence Problem
Sequence Problem
一些经典的系列问题,涵盖多种类型的考察
results matching "
"
No results matching "
"