Leetcode Solutions
Introduction
Array
Sort Array By Parity
Sort Array By Parity II
Flipping an Image
Array Partition I
Transpose Matrix
Toeplitz Matrix
Reshape the Matrix
Shortest Word Distance
Monotonic Array
Fair Candy Swap
Max Consecutive Ones
Move Zeros
Find All Numbers Disappeared in an Array
Majority Element
Best Time to Buy and Sell Stock II
1-bit and 2-bit Characters
Degree of an Array
Image Smoother
Positions of Large Groups
Best Time to Buy and Sell Stock
Reveal Cards In Increasing Order
Hash Table
Jewels and Stones
Find Anagram Mappings
Subdomain Visit Count
Keyboard Row
Uncommon Words from Two Sentences
Palindrome Permutaion
Verifying an Alien Dictionary
Distribute Candies
Shortest Completing Word
Employee Importance
Find the Difference
Intersection of Two Arrays
Valid Anagram
Contains Duplicate
Number of Boomerangs
First Unique Character in a String
Longest Palindrome
Minimum Index Sum of Two Lists
Intersection of Two Arrays II
Encode and Decode TinyURL
String
Unique Email Address
To Lower Case
Unique Morse Code Words
Robot Return to Origin
Reverse Words in a String III
Reverse String
Groups of Special-Equivalent Strings
Flip Game
Similar RGB
Reorder Log Files
Longest Uncommon Subsequence I
Reverse Only Letters
Goat Latin
Detect Capital
Rotated Digits
Count Binary Substrings
Ransom Note
Student Attendance Record I
Reverse String II
Output Contest Matches
Find and Replace Pattern
Valid Word Abbreviation
Greedy
Delete Columns to Make Sorted
Lemonade Change
Assign Cookies
Minimum Add to Make Parentheses Valid
Score After Flipping Matrix
Partition Labels
Bit Manipulation
Hamming Distance
Number Complement
Single Number
Binary Number with Alternating Bits
Prime Number of Set Bits in Binary Representation
IP to CIDR
Sum of Two Integers
Tree
Merge Two Binary Tree
N-ary Tree Preorder Traversal
N-ary Tree Postorder Traversal
Search in a Binary Tree
Maximum Depth of N-ary Tree
Leaf-Similar Trees
Increasing Order Search Tree
Trim a Binary Tree
Maximum Depth of Binary Tree
Average of Levels in Binary Tree
N-ary Tree Level Order Traversal
Invert Binary Tree
Two Sum IV
Construct String from Binary Tree
Convert BST to Greater Tree
Minimum Distance Between BST Nodes
Minimum Absolute Difference in BST
Same Tree
Sum of Left Leaves
Convert Sorted Array to Binary Search Tree
Binary Tree Tilt
Diameter of Binary Tree
Tree Level Order Traversal II
Insert into a Binary Search Tree
Maximum Binary Tree
Binary Tree Pruning
All Possible Full Binary Trees
Flip Equivalent Binary Trees
Find Leaves of Binary Tree
Math
DI String Match
Self Dividing Numbers
Projection Area of 3D Shapes
Smallest Range I
Binary Gap
Surface Area of 3D Shapes
Largest Triangle Area
Add Digits
Roman to Integer
Excel Sheet Column Number
Minimum Moves to Equal Array Elements
Range Addition II
Missing Number
Maximum Product of Three Numbers
Rectangle Overlap
Complex Number Multiplication
Permutation Sequence
Binary Search
Peak Index in a Mountain Array
Two Sum II
Depth-First Search
Nested List Weight Sum
Flood Fill
Queue
Number of Recent Calls
Moving Average from Data Stream
Linked List
Middle of the Linked List
Reverse Linked List
Delete Node in a Linked List
Merge Two Sorted Lists
Uncategorized
Number of Lines To Write String
Shortest Distance to a Character
Island Perimeter
Fizz Buzz
Construct Quad Tree
Rotate String
Construct the Rectangle
Relative Ranks
Poor Pigs
Max Increase to Keep City Skyline
Battleships in a Board
Valid Word Square
Stack
Baseball Game
Next Greater Element I
Implement Stack with Queues
Min Stack
Brainteaser
Nim Game
Backtracking
Letter Case Permutation
Binary Watch
All Paths From Source to Target
Beautiful Arrangements
Permutations
Generate Parentheses
Combination Sum III
Subsets
Generalized Abbreviation
Flip Game II
Combination Sum
Android Unblock Patterns
Combinations
Gray Code
Factor Combinations
Subset II
Letter Combinations of a Phone Number
Combination Sum II
Palindrome Partitioning
Permutations II
Split Array into Fibonacci Sequence
Palindrome Permutations
Restore IP Address
Word Search
Additive Number
Add and Search Word - Data structure design
N-Queens
N-Queens II
Word Squares
Word Pattern II
Sudoku Solver
Word Search II
Word Break II
Regular Expression Matching
Wildcard Matching
Word Ladder II
Design
Design HashMap
Design HashSet
Implement Trie
Max Stack
Design Compressed String Iterator
Two Sum III - Data structure design
Design Linked List
Hit Counter
Design Tic-Tac-Toe
Flatten Nested List Iterator
Binary Search Tree Iterator
Zigzag Iterator
Shortest Word Distance II
Flatten 2D Vector
Insert Delete GetRandom O(1)
Design Phone Directory
Peeking Iterator
Design Snake Game
Design Twitter
Sort
Meeting Rooms
Dynamic Programming
Paint House
Min Cost Climbing Stairs
Counting Bits
Two Pointers
Long Pressed Name
Binary Search Tree
Range Sum of BST
Powered by
GitBook
Stack
results matching "
"
No results matching "
"