File tree
1,227 files changed
+52536
-35251
lines changed- solution
- 0000-0099
- 0002.Add Two Numbers
- 0005.Longest Palindromic Substring
- 0011.Container With Most Water
- 0013.Roman to Integer
- 0017.Letter Combinations of a Phone Number
- 0019.Remove Nth Node From End of List
- 0021.Merge Two Sorted Lists
- 0024.Swap Nodes in Pairs
- 0025.Reverse Nodes in k-Group
- 0036.Valid Sudoku
- 0037.Sudoku Solver
- 0038.Count and Say
- 0042.Trapping Rain Water
- 0048.Rotate Image
- 0051.N-Queens
- 0052.N-Queens II
- 0054.Spiral Matrix
- 0059.Spiral Matrix II
- 0061.Rotate List
- 0062.Unique Paths
- 0063.Unique Paths II
- 0064.Minimum Path Sum
- 0073.Set Matrix Zeroes
- 0074.Search a 2D Matrix
- 0079.Word Search
- 0082.Remove Duplicates from Sorted List II
- 0083.Remove Duplicates from Sorted List
- 0084.Largest Rectangle in Histogram
- 0085.Maximal Rectangle
- 0086.Partition List
- 0092.Reverse Linked List II
- 0094.Binary Tree Inorder Traversal
- 0095.Unique Binary Search Trees II
- 0096.Unique Binary Search Trees
- 0097.Interleaving String
- 0098.Validate Binary Search Tree
- 0099.Recover Binary Search Tree
- 0100-0199
- 0100.Same Tree
- 0101.Symmetric Tree
- 0102.Binary Tree Level Order Traversal
- 0103.Binary Tree Zigzag Level Order Traversal
- 0104.Maximum Depth of Binary Tree
- 0105.Construct Binary Tree from Preorder and Inorder Traversal
- 0106.Construct Binary Tree from Inorder and Postorder Traversal
- 0107.Binary Tree Level Order Traversal II
- 0108.Convert Sorted Array to Binary Search Tree
- 0109.Convert Sorted List to Binary Search Tree
- 0110.Balanced Binary Tree
- 0111.Minimum Depth of Binary Tree
- 0112.Path Sum
- 0113.Path Sum II
- 0114.Flatten Binary Tree to Linked List
- 0116.Populating Next Right Pointers in Each Node
- 0117.Populating Next Right Pointers in Each Node II
- 0118.Pascal's Triangle
- images
- 0119.Pascal's Triangle II
- images
- 0124.Binary Tree Maximum Path Sum
- 0129.Sum Root to Leaf Numbers
- 0130.Surrounded Regions
- 0133.Clone Graph
- 0138.Copy List with Random Pointer
- 0141.Linked List Cycle
- 0142.Linked List Cycle II
- 0143.Reorder List
- 0144.Binary Tree Preorder Traversal
- 0145.Binary Tree Postorder Traversal
- 0147.Insertion Sort List
- 0148.Sort List
- 0149.Max Points on a Line
- 0156.Binary Tree Upside Down
- 0157.Read N Characters Given Read4
- 0158.Read N Characters Given Read4 II - Call multiple times
- 0160.Intersection of Two Linked Lists
- 0173.Binary Search Tree Iterator
- 0174.Dungeon Game
- 0175.Combine Two Tables
- 0176.Second Highest Salary
- 0177.Nth Highest Salary
- 0181.Employees Earning More Than Their Managers
- 0182.Duplicate Emails
- 0183.Customers Who Never Order
- 0184.Department Highest Salary
- 0185.Department Top Three Salaries
- 0192.Word Frequency
- 0195.Tenth Line
- 0196.Delete Duplicate Emails
- 0199.Binary Tree Right Side View
- images
- 0200-0299
- 0203.Remove Linked List Elements
- 0206.Reverse Linked List
- 0212.Word Search II
- 0218.The Skyline Problem
- 0221.Maximal Square
- 0222.Count Complete Tree Nodes
- 0223.Rectangle Area
- 0226.Invert Binary Tree
- 0230.Kth Smallest Element in a BST
- 0234.Palindrome Linked List
- 0235.Lowest Common Ancestor of a Binary Search Tree
- 0236.Lowest Common Ancestor of a Binary Tree
- 0237.Delete Node in a Linked List
- 0240.Search a 2D Matrix II
- 0250.Count Univalue Subtrees
- 0255.Verify Preorder Sequence in Binary Search Tree
- 0257.Binary Tree Paths
- 0261.Graph Valid Tree
- 0270.Closest Binary Search Tree Value
- 0272.Closest Binary Search Tree Value II
- 0276.Paint Fence
- 0277.Find the Celebrity
- 0285.Inorder Successor in BST
- 0286.Walls and Gates
- 0289.Game of Life
- 0296.Best Meeting Point
- 0297.Serialize and Deserialize Binary Tree
- 0298.Binary Tree Longest Consecutive Sequence
- 0300-0399
- 0302.Smallest Rectangle Enclosing Black Pixels
- 0304.Range Sum Query 2D - Immutable
- 0305.Number of Islands II
- 0308.Range Sum Query 2D - Mutable
- 0310.Minimum Height Trees
- 0311.Sparse Matrix Multiplication
- 0314.Binary Tree Vertical Order Traversal
- 0317.Shortest Distance from All Buildings
- 0319.Bulb Switcher
- 0323.Number of Connected Components in an Undirected Graph
- 0328.Odd Even Linked List
- 0329.Longest Increasing Path in a Matrix
- 0331.Verify Preorder Serialization of a Binary Tree
- 0332.Reconstruct Itinerary
- 0333.Largest BST Subtree
- 0335.Self Crossing
- 0337.House Robber III
- 0339.Nested List Weight Sum
- 0351.Android Unlock Patterns
- 0353.Design Snake Game
- 0356.Line Reflection
- 0361.Bomb Enemy
- 0363.Max Sum of Rectangle No Larger Than K
- images
- 0364.Nested List Weight Sum II
- 0366.Find Leaves of Binary Tree
- 0370.Range Addition
- 0375.Guess Number Higher or Lower II
- 0382.Linked List Random Node
- 0388.Longest Absolute File Path
- 0391.Perfect Rectangle
- 0400-0499
- 0401.Binary Watch
- 0404.Sum of Left Leaves
- 0407.Trapping Rain Water II
- 0417.Pacific Atlantic Water Flow
- 0419.Battleships in a Board
- 0422.Valid Word Square
- 0426.Convert Binary Search Tree to Sorted Doubly Linked List
- 0427.Construct Quad Tree
- 0428.Serialize and Deserialize N-ary Tree
- 0429.N-ary Tree Level Order Traversal
- 0430.Flatten a Multilevel Doubly Linked List
- 0431.Encode N-ary Tree to Binary Tree
- 0437.Path Sum III
- 0441.Arranging Coins
- 0445.Add Two Numbers II
- 0450.Delete Node in a BST
- 0463.Island Perimeter
- 0469.Convex Polygon
- 0473.Matchsticks to Square
- 0489.Robot Room Cleaner
- 0490.The Maze
- 0497.Random Point in Non-overlapping Rectangles
- 0498.Diagonal Traverse
- 0499.The Maze III
- 0500-0599
- 0500.Keyboard Row
- 0501.Find Mode in Binary Search Tree
- 0502.IPO
- 0504.Base 7
- 0505.The Maze II
- 0508.Most Frequent Subtree Sum
- 0510.Inorder Successor in BST II
- 0513.Find Bottom Left Tree Value
- 0514.Freedom Trail
- 0515.Find Largest Value in Each Tree Row
- 0517.Super Washing Machines
- 0518.Coin Change 2
- 0519.Random Flip Matrix
- 0520.Detect Capital
- 0522.Longest Uncommon Subsequence II
- 0525.Contiguous Array
- 0527.Word Abbreviation
- 0529.Minesweeper
- 0531.Lonely Pixel I
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,227 files changed
+52536
-35251
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
|
0 commit comments