File tree
238 files changed
+2024
-460
lines changed- .vscode
- Algorithms
- 0002. Add Two Numbers
- 0003. Longest Substring Without Repeating Characters
- 0004. Median of Two Sorted Arrays
- 0019. Remove Nth Node From End of List
- 0021. Merge Two Sorted Lists
- 0023. Merge k Sorted Lists
- 0024. Swap Nodes in Pairs
- 0025. Reverse Nodes in k Group
- 0029. Divide Two Integers
- 0053. Maximum Subarray
- 0054. Spiral Matrix
- 0056. Merge Intervals
- 0057. Insert Interval
- 0061. Rotate List
- 0064. Minimum Path Sum
- 0078. Subsets
- 0082. Remove Duplicates from Sorted List II
- 0083. Remove Duplicates from Sorted List
- 0084. Largest Rectangle in Histogram
- 0086. Partition List
- 0092. Reverse Linked List II
- 0094. Binary Tree Inorder Traversal
- 0095. Unique Binary Search Trees II
- 0098. Validate Binary Search Tree
- 0099. Recover Binary Search Tree
- 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
- 0120. Triangle
- 0121. Best Time to Buy and Sell Stock
- 0124. Binary Tree Maximum Path Sum
- 0125. Valid-Palindrome
- 0128. Longest Consecutive Sequence
- 0129. Sum Root to Leaf Numbers
- 0130. Surrounded Regions
- 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
- 0152. Maximum Product Subarray
- 0160. Intersection of Two Linked Lists
- 0164. Maximum Gap
- 0173. Binary Search Tree Iterator
- 0174. Dungeon Game
- 0198. House Robber
- 0199. Binary Tree Right Side View
- 0200. Number of Islands
- 0203. Remove Linked List Elements
- 0206. Reverse-Linked-List
- 0209. Minimum Size Subarray Sum
- 0212. Word Search II
- 0213. House Robber II
- 0215. Kth Largest Element in an Array
- 0218. The Skyline Problem
- 0220. Contains Duplicate III
- 0222. Count Complete Tree Nodes
- 0223. Rectangle Area
- 0224. Basic Calculator
- 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
- 0257. Binary Tree Paths
- 0274. H-Index
- 0300. Longest Increasing Subsequence
- 0306. Additive Number
- 0307. Range Sum Query - Mutable
- 0309. Best Time to Buy and Sell Stock with Cooldown
- 0322. Coin Change
- 0328. Odd Even Linked List
- 0329. Longest Increasing Path in a Matrix
- 0343. Integer Break
- 0385. Mini Parser
- 0404. Sum of Left Leaves
- 0424. Longest Repeating Character Replacement
- 0433. Minimum Genetic Mutation
- 0435. Non-overlapping Intervals
- 0436. Find Right Interval
- 0437. Path Sum III
- 0445. Add Two Numbers II
- 0474. Ones and Zeroes
- 0475. Heaters
- 0477. Total Hamming Distance
- 0508. Most Frequent Subtree Sum
- 0513. Find Bottom Left Tree Value
- 0515. Find Largest Value in Each Tree Row
- 0541. Reverse String II
- 0542. 01 Matrix
- 0563. Binary Tree Tilt
- 0572. Subtree of Another Tree
- 0628. Maximum Product of Three Numbers
- 0637. Average of Levels in Binary Tree
- 0648. Replace Words
- 0653. Two Sum IV - Input is a BST
- 0662. Maximum Width of Binary Tree
- 0699. Falling Squares
- 0707. Design Linked List
- 0714. Best Time to Buy and Sell Stock with Transaction Fee
- 0718. Maximum Length of Repeated Subarray
- 0725. Split Linked List in Parts
- 0733. Flood Fill
- 0746. Min Cost Climbing Stairs
- 0784. Letter Case Permutation
- 0793. Preimage Size of Factorial Zeroes Function
- 0803. Bricks Falling When Hit
- 0817. Linked List Components
- 0826. Most Profit Assigning Work
- 0842. Split Array into Fibonacci Sequence
- 0845. Longest Mountain in Array
- 0864. Shortest Path to Get All Keys
- 0876. Middle of the Linked List
- 0878. Nth Magical Number
- 0897. Increasing Order Search Tree
- 0904. Fruit Into Baskets
- 0918. Maximum Sum Circular Subarray
- 0928. Minimize Malware Spread II
- 0952. Largest Component Size by Common Factor
- 0968. Binary Tree Cameras
- 0976. Largest Perimeter Triangle
- 0978. Longest Turbulent Subarray
- 0979. Distribute Coins in Binary Tree
- 0980. Unique Paths III
- 0986. Interval List Intersections
- 0993. Cousins in Binary Tree
- 1004. Max Consecutive Ones III
- 1011. Capacity To Ship Packages Within D Days
- 1019. Next Greater Node In Linked List
- 1028. Recover a Tree From Preorder Traversal
- 1030. Matrix Cells in Distance Order
- 1040. Moving Stones Until Consecutive II
- 1049. Last Stone Weight II
- 1052. Grumpy Bookstore Owner
- 1105. Filling Bookcase Shelves
- 1111. Maximum Nesting Depth of Two Valid Parentheses Strings
- 1123. Lowest Common Ancestor of Deepest Leaves
- 1171. Remove Zero Sum Consecutive Nodes from Linked List
- 1189. Maximum Number of Balloons
- 1208. Get Equal Substrings Within Budget
- 1217. Play with Chips
- 1235. Maximum Profit in Job Scheduling
- structures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
238 files changed
+2024
-460
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
| 17 | + | |
10 | 18 | | |
11 | 19 | | |
12 | 20 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | | - | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 55 | | |
64 | 56 | | |
65 | 57 | | |
66 | 58 | | |
67 | 59 | | |
68 | 60 | | |
69 | | - | |
| 61 | + | |
70 | 62 | | |
71 | 63 | | |
72 | 64 | | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | | - | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
0 commit comments