File tree
162 files changed
+435
-447
lines changed- Algorithms
- 0007. Reverse Integer
- 0015. 3Sum
- 0016. 3Sum Closest
- 0018. 4Sum
- 0019. Remove Nth Node From End of List
- 0021. Merge Two Sorted Lists
- 0023. Merge k Sorted Lists
- 0026. Remove Duplicates from Sorted Array
- 0028. Implement strStr()
- 0036. Valid Sudoku
- 0047. Permutations II
- 0052. N-Queens II
- 0053. Maximum Subarray
- 0056. Merge Intervals
- 0064. Minimum Path Sum
- 0069. Sqrt(x)
- 0071. Simplify Path
- 0078. Subsets
- 0079. Word Search
- 0080. Remove Duplicates from Sorted Array II
- 0082. Remove Duplicates from Sorted List II
- 0086. Partition List
- 0089. Gray Code
- 0093. Restore IP Addresses
- 0098. Validate Binary Search Tree
- 0102. Binary Tree Level Order Traversal
- 0109. Convert Sorted List to Binary Search Tree
- 0113. Path Sum II
- 0114. Flatten Binary Tree to Linked List
- 0120. Triangle
- 0121. Best Time to Buy and Sell Stock
- 0122. Best Time to Buy and Sell Stock II
- 0126. Word Ladder II
- 0131. Palindrome Partitioning
- 0137. Single Number II
- 0142. Linked List Cycle II
- 0143. Reorder List
- 0144. Binary Tree Preorder Traversal
- 0148. Sort List
- 0150. Evaluate Reverse Polish Notation
- 0155. Min Stack
- 0164. Maximum Gap
- 0167. Two Sum II - Input array is sorted
- 0169. Majority Element
- 0173. Binary Search Tree Iterator
- 0187. Repeated DNA Sequences
- 0190. Reverse Bits
- 0198. House Robber
- 0201. Bitwise AND of Numbers Range
- 0202. Happy Number
- 0208. Implement Trie (Prefix Tree)
- 0211. Add and Search Word - Data structure design
- 0213. House Robber II
- 0215. Kth Largest Element in an Array
- 0224. Basic Calculator
- 0225. Implement Stack using Queues
- 0229. Majority Element II
- 0230. Kth Smallest Element in a BST
- 0231. Power of Two
- 0232. Implement Queue using Stacks
- 0234. Palindrome Linked List
- 0236. Lowest Common Ancestor of a Binary Tree
- 0239. Sliding Window Maximum
- 0242. Valid Anagram
- 0274. H-Index
- 0287. Find the Duplicate Number
- 0300. Longest Increasing Subsequence
- 0306. Additive Number
- 0309. Best Time to Buy and Sell Stock with Cooldown
- 0324. Wiggle Sort II
- 0326. Power of Three
- 0342. Power of Four
- 0343. Integer Break
- 0345. Reverse Vowels of a String
- 0347. Top K Frequent Elements
- 0357. Count Numbers with Unique Digits
- 0392. Is Subsequence
- 0433. Minimum Genetic Mutation
- 0435. Non-overlapping Intervals
- 0437. Path Sum III
- 0445. Add Two Numbers II
- 0456. 132 Pattern
- 0480. Sliding Window Median
- 0503. Next Greater Element II
- 0515. Find Largest Value in Each Tree Row
- 0524. Longest Word in Dictionary through Deleting
- 0526. Beautiful Arrangement
- 0532. K-diff Pairs in an Array
- 0542. 01 Matrix
- 0628. Maximum Product of Three Numbers
- 0648. Replace Words
- 0676. Implement Magic Dictionary
- 0682. Baseball Game
- 0707. Design Linked List
- 0710. Random Pick with Blacklist
- 0714. Best Time to Buy and Sell Stock with Transaction Fee
- 0726. Number of Atoms
- 0739. Daily Temperatures
- 0745. Prefix and Suffix Search
- 0746. Min Cost Climbing Stairs
- 0763. Partition Labels
- 0767. Reorganize String
- 0784. Letter Case Permutation
- 0826. Most Profit Assigning Work
- 0828. Unique Letter String
- 0838. Push Dominoes
- 0842. Split Array into Fibonacci Sequence
- 0853. Car Fleet
- 0876. Middle of the Linked List
- 0880. Decoded String at Index
- 0895. Maximum Frequency Stack
- 0901. Online Stock Span
- 0907. Sum of Subarray Minimums
- 0923. 3Sum With Multiplicity
- 0969. Pancake Sorting
- 0973. K Closest Points to Origin
- 0976. Largest Perimeter Triangle
- 0977. Squares of a Sorted Array
- 0993. Cousins in Binary Tree
- 0996. Number of Squareful Arrays
- 1003. Check If Word Is Valid After Substitutions
- 1021. Remove Outermost Parentheses
- 1047. Remove All Adjacent Duplicates In String
- 1079. Letter Tile Possibilities
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
162 files changed
+435
-447
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 2 additions & 51 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
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 | | - | |
| 21 | + | |
| 22 | + | |
72 | 23 | | |
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 34 | | |
| 35 | + | |
| 36 | + | |
38 | 37 | | |
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
0 commit comments