CodingPractice
SUMMARY
Introduction
String Array
Longest Words
Two Sum
3 Sum
4 Sum
k Sum
3 Sum Closest
Valid Palindrome
Palindrome Partitioning
strStr
strStr II
Reverse Words in a String
String to Integer (atoi)
Valid Number
Longest Substring Without Repeating Characters
Longest Substring with At Most K Distinct Characters
First Missing Positive
Find the Missing Number
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array II
Remove Duplicates from Sorted List
Remove Duplicates from Sorted List II
Valid Sudoku
Subarray Sum
Subarray Sum II
Count and Say
Minimum Subarray
Maximum Product Subarray
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock III
Best Time to Buy and Sell Stock IV
Sort Colors
Sort Colors II
Partition Array
Sort Letters by Case
Maximum Subarray Difference
Subarray Sum Closest
Candy
Delete Digits
k Sum II
Unique Characters
Compare Strings
Compare Version Numbers
Valid Anagram
Group Anagrams
Linked List
Reverse Linked List
Merge Two Sorted Lists
Add Two Numbers
Swap Nodes in Pairs
Copy List with Random Pointer
Reverse Linked List II
Nth to Last Node in List
Linked List Cycle
Linked List Cycle II
Remove Nth Node From End of List
Partition List
Reorder List
Sort List
Rotate List
Palindrome Linked List
Search Sort
Sort Algorithms
A Classic Binary Search Problem
Median of two Sorted Arrays
Search for a Range
Find Peak Element
First Bad Version
Search a 2D Matrix
Search a 2D Matrix II
Find Minimum in Rotated Sorted Array
Find Minimum in Rotated Sorted Array II
Search in Rotated Sorted Array
Search in Rotated Sorted Array II
Construct Binary Tree from Preorder and Inorder Traversal
Construct Binary Tree from Inorder and Postorder Traversal
Kth Largest Element
Median
Nuts & Bolts Problem
Wood Cut
Top K Frequent Words
Total Occurrence of Target
K Closest Numbers In Sorted Array Show result
Longest Common Prefix
Add and Search Word
Repeated DNA Sequences
Search Insert Position
Insert Interval
Max Points on a Line
Merge Intervals
Count of Smaller Number
LinkedIn: K Nearest points on a plane
Number of Islands
Merge Sorted Array
Contains Duplicate I II III
Dynamic Programming
Triangle
Minimum Path Sum
Jump Game
Jump Game II
Longest Common Subsequence
Longest Common Substring
Edit Distance
Backpack
Backpack II
Longest Palindromic Substring
Unique Paths
Unique Paths II
Maximum Subarray
Maximum Subarray II
Maximum Subarray III
Word Break
Longest Increasing Subsequence
Longest Increasing Continuous subsequence
Interleaving String
Palindrome Partitioning II
Maximal Square
Coins in a Line
Maximum Coins Value
Coins in a Line II
Minimum Window Substring
House Robber
Data Structure
Longest Consecutive Sequence
Merge k Sorted Lists
Merge k Sorted Arrays
Valid Parentheses
Heapify
Rehashing
Max Tree
Data Stream Median
Peeking Iterator
Implement Trie
Min Stack
Binary Tree
Binary Tree Inorder Traversal
Binary Tree Postorder Traversal
Validate Binary Search Tree
Insert Node in a Binary Search Tree
Binary Tree Level Order Traversal
Binary Tree Level Order Traversal II
Binary Tree Zigzag Level Order Traversal
Maximum Depth of Binary Tree
Minimum Depth of Binary Tree
Balanced Binary Tree
Convert Sorted Array to Binary Search Tree
Convert Sorted List to Binary Search Tree
Binary Tree Maximum Path Sum
Lowest Common Ancestor
Lowest Common Ancestor II
Lowest Common Ancestor of a Binary Search Tree
Search Range in Binary Search Tree
Binary Search Tree Iterator
Inorder Successor in BST
Flatten Binary Tree to Linked List
Binary Tree Paths
Binary Tree Path Sum
Binary Tree Serialization
Subtree
Shortest Word Distance
Remove Node in Binary Search Tree
Convert Binary Search Tree to Doubly Linked List
Binary Tree Right Side View
Backtracing DFS BFS
Next Permutation
Permutations
Permutations II
Subsets
Subsets II
Combinations
Palindrome Partitioning
Clone Graph
N-Queens
N-Queens II
Combination Sum
Combination Sum II
Topological Sorting
Word Ladder
Word Ladder II
Find the Connected Component in the Undirected Graph
Route Between Two Nodes in Graph
Word Search
Others
Reverse Integer
Single Number
Single Number II
Spiral Matrix
Ugly Number
Set Matrix Zeroes
Evaluate Reverse Polish Notation
LRU Cache
Count Primes
LinkedIn: Find Pythagorean Triplets in an array
Digit Counts
Roman To Integer
Integer to Roman
Perfect Squares
Sqrt(x)
Collections
【经验】分享一些经验及心得
LeetCode 题目统计
Useful Functions
Google Interview
STL structures and functions
Useful Sources
Real Questions
[Google] Max sum of n coins
LinkedIn: Find all Triangles in an array
Distribution Buckets
Count the number of 1s in an binary integer
Amazon Interview Questions
Warm up Questions
Fibonacci
Pow(x, n)
System Design
Deck of Cards
Powered by
GitBook
Group Anagrams
Group Anagrams
Given an array of strings, group anagrams together.
Solution
results matching "
"
No results matching "
"