Skip to content

Commit 9de5361

Browse files
Zanger67/leetcodeZanger67/leetcode
Zanger67/leetcode
authored and
Zanger67/leetcode
committed
Updated markdown files
1 parent 840b393 commit 9de5361

File tree

480 files changed

+712
-706
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

480 files changed

+712
-706
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ This repo is a collection of my LeetCode solutions, primarily written in Python,
585585
| 3163 | [String Compression III](<https://leetcode.com/problems/string-compression-iii>) | Medium | Daily | [solution](<markdowns/_3163. String Compression III.md>) | py |
586586
| 3168 | Weekly Contest 400 - q1 - [Minimum Number of Chairs in a Waiting Room](<https://leetcode.com/problems/minimum-number-of-chairs-in-a-waiting-room>) | Easy | Contest | [solution](<markdowns/_3168. Minimum Number of Chairs in a Waiting Room.md>) | py |
587587
| 3169 | Weekly Contest 400 - q2 - [Count Days Without Meetings](<https://leetcode.com/problems/count-days-without-meetings>) | Medium | Contest | [solution](<markdowns/_3169. Count Days Without Meetings.md>) | py |
588-
| 3174 | Biweekly Contest 132 - q1 - [Clear Digits](<https://leetcode.com/problems/clear-digits>) | Easy | Contest | [solution](<markdowns/_3174. Clear Digits.md>) | py |
588+
| 3174 | Biweekly Contest 132 - q1 - [Clear Digits](<https://leetcode.com/problems/clear-digits>) | Easy | Contest, Daily | [solution](<markdowns/_3174. Clear Digits.md>) | py |
589589
| 3175 | Biweekly Contest 132 - q2 - [Find The First Player to win K Games in a Row](<https://leetcode.com/problems/find-the-first-player-to-win-k-games-in-a-row>) | Medium | Contest | [solution](<markdowns/_3175. Find The First Player to win K Games in a Row.md>) | py |
590590
| 3178 | Weekly Contest 401 - q1 - [Find the Child Who Has the Ball After K Seconds](<https://leetcode.com/problems/find-the-child-who-has-the-ball-after-k-seconds>) | Easy | Contest | [solution](<markdowns/_3178. Find the Child Who Has the Ball After K Seconds.md>) | py |
591591
| 3179 | Weekly Contest 401 - q2 - [Find the N-th Value After K Seconds](<https://leetcode.com/problems/find-the-n-th-value-after-k-seconds>) | Medium | Contest | [solution](<markdowns/_3179. Find the N-th Value After K Seconds.md>) | py |

markdowns/Daily_Questions.md

+125-124
Large diffs are not rendered by default.

markdowns/Easy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
| 3136 | [Valid Word](<https://leetcode.com/problems/valid-word>) | Easy | | [solution](<_3136. Valid Word.md>) | c, py | Jul 03, 2024 |
166166
| 3151 | [Special Array I](<https://leetcode.com/problems/special-array-i>) | Easy | Daily | [solution](<_3151. Special Array I.md>) | py | Feb 01, 2025 |
167167
| 3168 | Weekly Contest 400 - q1 - [Minimum Number of Chairs in a Waiting Room](<https://leetcode.com/problems/minimum-number-of-chairs-in-a-waiting-room>) | Easy | Contest | [solution](<_3168. Minimum Number of Chairs in a Waiting Room.md>) | py | Jul 07, 2024 |
168-
| 3174 | Biweekly Contest 132 - q1 - [Clear Digits](<https://leetcode.com/problems/clear-digits>) | Easy | Contest | [solution](<_3174. Clear Digits.md>) | py | Jul 07, 2024 |
168+
| 3174 | Biweekly Contest 132 - q1 - [Clear Digits](<https://leetcode.com/problems/clear-digits>) | Easy | Contest, Daily | [solution](<_3174. Clear Digits.md>) | py | Jul 07, 2024 |
169169
| 3178 | Weekly Contest 401 - q1 - [Find the Child Who Has the Ball After K Seconds](<https://leetcode.com/problems/find-the-child-who-has-the-ball-after-k-seconds>) | Easy | Contest | [solution](<_3178. Find the Child Who Has the Ball After K Seconds.md>) | py | Jul 07, 2024 |
170170
| 3184 | Weekly Contest 402 - q1 - [Count Pairs That Form a Complete Day I](<https://leetcode.com/problems/count-pairs-that-form-a-complete-day-i>) | Easy | Contest | [solution](<_3184. Count Pairs That Form a Complete Day I.md>) | py | Jul 07, 2024 |
171171
| 3190 | [Find Minimum Operations to Make All Elements Divisible by Three](<https://leetcode.com/problems/find-minimum-operations-to-make-all-elements-divisible-by-three>) | Easy | | [solution](<_3190. Find Minimum Operations to Make All Elements Divisible by Three.md>) | java | Jun 22, 2024 |

markdowns/Questions_By_Code_Length.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Calculations are based on the code files's byte sizes.
334334
| 328 | [Odd Even Linked List](<https://leetcode.com/problems/odd-even-linked-list>) | Medium | | [solution](<_328. Odd Even Linked List.md>) | py | Jun 22, 2024 |
335335
| 807 | [Max Increase to Keep City Skyline](<https://leetcode.com/problems/max-increase-to-keep-city-skyline>) | Medium | | [solution](<_807. Max Increase to Keep City Skyline.md>) | java | Jun 22, 2024 |
336336
| 1721 | [Swapping Nodes in a Linked List](<https://leetcode.com/problems/swapping-nodes-in-a-linked-list>) | Medium | | [solution](<_1721. Swapping Nodes in a Linked List.md>) | c | Jun 07, 2024 |
337-
| 3174 | Biweekly Contest 132 - q1 - [Clear Digits](<https://leetcode.com/problems/clear-digits>) | Easy | Contest | [solution](<_3174. Clear Digits.md>) | py | Jul 07, 2024 |
337+
| 3174 | Biweekly Contest 132 - q1 - [Clear Digits](<https://leetcode.com/problems/clear-digits>) | Easy | Contest, Daily | [solution](<_3174. Clear Digits.md>) | py | Jul 07, 2024 |
338338
| 1472 | [Design Browser History](<https://leetcode.com/problems/design-browser-history>) | Medium | | [solution](<_1472. Design Browser History.md>) | py | Jul 06, 2024 |
339339
| 720 | [Longest Word in Dictionary](<https://leetcode.com/problems/longest-word-in-dictionary>) | Medium | | [solution](<_720. Longest Word in Dictionary.md>) | py | Jun 27, 2024 |
340340
| 1858 | [Longest Word With All Prefixes](<https://leetcode.com/problems/longest-word-with-all-prefixes>) | Medium | Weekly Premium | [solution](<_1858. Longest Word With All Prefixes.md>) | py | Jun 29, 2024 |

markdowns/Questions_By_Recent.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Calculations are based on the date of the first solve.
193193
| 3169 | Weekly Contest 400 - q2 - [Count Days Without Meetings](<https://leetcode.com/problems/count-days-without-meetings>) | Medium | Contest | [solution](<_3169. Count Days Without Meetings.md>) | py | Jul 07, 2024 |
194194
| 3168 | Weekly Contest 400 - q1 - [Minimum Number of Chairs in a Waiting Room](<https://leetcode.com/problems/minimum-number-of-chairs-in-a-waiting-room>) | Easy | Contest | [solution](<_3168. Minimum Number of Chairs in a Waiting Room.md>) | py | Jul 07, 2024 |
195195
| 3175 | Biweekly Contest 132 - q2 - [Find The First Player to win K Games in a Row](<https://leetcode.com/problems/find-the-first-player-to-win-k-games-in-a-row>) | Medium | Contest | [solution](<_3175. Find The First Player to win K Games in a Row.md>) | py | Jul 07, 2024 |
196-
| 3174 | Biweekly Contest 132 - q1 - [Clear Digits](<https://leetcode.com/problems/clear-digits>) | Easy | Contest | [solution](<_3174. Clear Digits.md>) | py | Jul 07, 2024 |
196+
| 3174 | Biweekly Contest 132 - q1 - [Clear Digits](<https://leetcode.com/problems/clear-digits>) | Easy | Contest, Daily | [solution](<_3174. Clear Digits.md>) | py | Jul 07, 2024 |
197197
| 3211 | Weekly Contest 405 - q2 - [Generate Binary Strings Without Adjacent Zeros](<https://leetcode.com/problems/generate-binary-strings-without-adjacent-zeros>) | Medium | Contest | [solution](<_3211. Generate Binary Strings Without Adjacent Zeros.md>) | js, py | Jul 07, 2024 |
198198
| 1518 | [Water Bottles](<https://leetcode.com/problems/water-bottles>) | Easy | Daily | [solution](<_1518. Water Bottles.md>) | c, cpp, cs, java, js, py, ts | Jul 07, 2024 |
199199
| 622 | [Design Circular Queue](<https://leetcode.com/problems/design-circular-queue>) | Medium | | [solution](<_622. Design Circular Queue.md>) | py | Jul 06, 2024 |

markdowns/Topics.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
------
66

77
- [Array](<by_topic/Array.md>) (283 completed)
8-
- [String](<by_topic/String.md>) (131 completed)
9-
- [Hash Table](<by_topic/Hash Table.md>) (128 completed)
10-
- [Depth-First Search](<by_topic/Depth-First Search.md>) (100 completed)
8+
- [String](<by_topic/String.md>) (132 completed)
9+
- [Hash Table](<by_topic/Hash Table.md>) (129 completed)
10+
- [Depth-First Search](<by_topic/Depth-First Search.md>) (101 completed)
1111
- [Tree](<by_topic/Tree.md>) (90 completed)
1212
- [Binary Tree](<by_topic/Binary Tree.md>) (81 completed)
1313
- [Sorting](<by_topic/Sorting.md>) (73 completed)
1414
- [Breadth-First Search](<by_topic/Breadth-First Search.md>) (69 completed)
15-
- [Math](<by_topic/Math.md>) (68 completed)
15+
- [Math](<by_topic/Math.md>) (69 completed)
1616
- [Two Pointers](<by_topic/Two Pointers.md>) (55 completed)
1717
- [Matrix](<by_topic/Matrix.md>) (52 completed)
1818
- [Stack](<by_topic/Stack.md>) (52 completed)
@@ -22,7 +22,7 @@
2222
- [Simulation](<by_topic/Simulation.md>) (38 completed)
2323
- [Design](<by_topic/Design.md>) (35 completed)
2424
- [Bit Manipulation](<by_topic/Bit Manipulation.md>) (33 completed)
25-
- [Counting](<by_topic/Counting.md>) (30 completed)
25+
- [Counting](<by_topic/Counting.md>) (31 completed)
2626
- [Binary Search](<by_topic/Binary Search.md>) (29 completed)
2727
- [Heap (Priority Queue)](<by_topic/Heap (Priority Queue).md>) (22 completed)
2828
- [Backtracking](<by_topic/Backtracking.md>) (21 completed)

markdowns/_1. Two Sum.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Array](<by_topic/Array.md>), [Hash Table](<by_topic/Hash Table.md>)**
1616
>
17-
> **Acceptance Rate** : **54.79 %**
17+
> **Acceptance Rate** : **54.85 %**
1818
1919
------
2020

markdowns/_100. Same Tree.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Tree](<by_topic/Tree.md>), [Depth-First Search](<by_topic/Depth-First Search.md>), [Breadth-First Search](<by_topic/Breadth-First Search.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **64.21 %**
17+
> **Acceptance Rate** : **64.26 %**
1818
1919
------
2020

markdowns/_1002. Find Common Characters.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Array](<by_topic/Array.md>), [Hash Table](<by_topic/Hash Table.md>), [String](<by_topic/String.md>)**
1616
>
17-
> **Acceptance Rate** : **74.57 %**
17+
> **Acceptance Rate** : **74.58 %**
1818
1919
------
2020

markdowns/_1006. Clumsy Factorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Math](<by_topic/Math.md>), [Stack](<by_topic/Stack.md>), [Simulation](<by_topic/Simulation.md>)**
1616
>
17-
> **Acceptance Rate** : **58.32 %**
17+
> **Acceptance Rate** : **58.4 %**
1818
1919
------
2020

markdowns/_1008. Construct Binary Search Tree from Preorder Traversal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Array](<by_topic/Array.md>), [Stack](<by_topic/Stack.md>), [Tree](<by_topic/Tree.md>), [Binary Search Tree](<by_topic/Binary Search Tree.md>), [Monotonic Stack](<by_topic/Monotonic Stack.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **82.94 %**
17+
> **Acceptance Rate** : **82.97 %**
1818
1919
------
2020

markdowns/_1019. Next Greater Node In Linked List.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Array](<by_topic/Array.md>), [Linked List](<by_topic/Linked List.md>), [Stack](<by_topic/Stack.md>), [Monotonic Stack](<by_topic/Monotonic Stack.md>)**
1616
>
17-
> **Acceptance Rate** : **61.74 %**
17+
> **Acceptance Rate** : **61.77 %**
1818
1919
------
2020

markdowns/_102. Binary Tree Level Order Traversal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Tree](<by_topic/Tree.md>), [Breadth-First Search](<by_topic/Breadth-First Search.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **69.52 %**
17+
> **Acceptance Rate** : **69.59 %**
1818
1919
------
2020

markdowns/_1020. Number of Enclaves.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Array](<by_topic/Array.md>), [Depth-First Search](<by_topic/Depth-First Search.md>), [Breadth-First Search](<by_topic/Breadth-First Search.md>), [Union Find](<by_topic/Union Find.md>), [Matrix](<by_topic/Matrix.md>)**
1616
>
17-
> **Acceptance Rate** : **69.9 %**
17+
> **Acceptance Rate** : **69.94 %**
1818
1919
------
2020

markdowns/_1028. Recover a Tree From Preorder Traversal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[String](<by_topic/String.md>), [Tree](<by_topic/Tree.md>), [Depth-First Search](<by_topic/Depth-First Search.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **75.3 %**
17+
> **Acceptance Rate** : **75.33 %**
1818
1919
------
2020

markdowns/_103. Binary Tree Zigzag Level Order Traversal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Tree](<by_topic/Tree.md>), [Breadth-First Search](<by_topic/Breadth-First Search.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **60.78 %**
17+
> **Acceptance Rate** : **60.83 %**
1818
1919
------
2020

markdowns/_1030. Matrix Cells in Distance Order.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Array](<by_topic/Array.md>), [Math](<by_topic/Math.md>), [Geometry](<by_topic/Geometry.md>), [Sorting](<by_topic/Sorting.md>), [Matrix](<by_topic/Matrix.md>)**
1616
>
17-
> **Acceptance Rate** : **72.21 %**
17+
> **Acceptance Rate** : **72.26 %**
1818
1919
------
2020

markdowns/_1038. Binary Search Tree to Greater Sum Tree.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Tree](<by_topic/Tree.md>), [Depth-First Search](<by_topic/Depth-First Search.md>), [Binary Search Tree](<by_topic/Binary Search Tree.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **88.31 %**
17+
> **Acceptance Rate** : **88.32 %**
1818
1919
------
2020

markdowns/_104. Maximum Depth of Binary Tree.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Tree](<by_topic/Tree.md>), [Depth-First Search](<by_topic/Depth-First Search.md>), [Breadth-First Search](<by_topic/Breadth-First Search.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **76.62 %**
17+
> **Acceptance Rate** : **76.66 %**
1818
1919
------
2020

markdowns/_1046. Last Stone Weight.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Array](<by_topic/Array.md>), [Heap (Priority Queue)](<by_topic/Heap (Priority Queue).md>)**
1616
>
17-
> **Acceptance Rate** : **65.75 %**
17+
> **Acceptance Rate** : **65.77 %**
1818
1919
------
2020

markdowns/_1051. Height Checker.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Array](<by_topic/Array.md>), [Sorting](<by_topic/Sorting.md>), [Counting Sort](<by_topic/Counting Sort.md>)**
1616
>
17-
> **Acceptance Rate** : **80.99 %**
17+
> **Acceptance Rate** : **81.0 %**
1818
1919
------
2020

markdowns/_1062. Longest Repeating Substring.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[String](<by_topic/String.md>), [Binary Search](<by_topic/Binary Search.md>), [Dynamic Programming](<by_topic/Dynamic Programming.md>), [Rolling Hash](<by_topic/Rolling Hash.md>), [Suffix Array](<by_topic/Suffix Array.md>), [Hash Function](<by_topic/Hash Function.md>)**
1616
>
17-
> **Acceptance Rate** : **62.59 %**
17+
> **Acceptance Rate** : **62.62 %**
1818
1919
------
2020

markdowns/_1068. Product Sales Analysis I.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Database](<by_topic/Database.md>)**
1616
>
17-
> **Acceptance Rate** : **84.68 %**
17+
> **Acceptance Rate** : **84.6 %**
1818
1919
------
2020

markdowns/_107. Binary Tree Level Order Traversal II.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Tree](<by_topic/Tree.md>), [Breadth-First Search](<by_topic/Breadth-First Search.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **65.15 %**
17+
> **Acceptance Rate** : **65.2 %**
1818
1919
------
2020

markdowns/_1071. Greatest Common Divisor of Strings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Math](<by_topic/Math.md>), [String](<by_topic/String.md>)**
1616
>
17-
> **Acceptance Rate** : **52.38 %**
17+
> **Acceptance Rate** : **52.41 %**
1818
1919
------
2020

markdowns/_1087. Brace Expansion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[String](<by_topic/String.md>), [Backtracking](<by_topic/Backtracking.md>), [Breadth-First Search](<by_topic/Breadth-First Search.md>)**
1616
>
17-
> **Acceptance Rate** : **66.61 %**
17+
> **Acceptance Rate** : **66.62 %**
1818
1919
------
2020

markdowns/_110. Balanced Binary Tree.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Tree](<by_topic/Tree.md>), [Depth-First Search](<by_topic/Depth-First Search.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **54.36 %**
17+
> **Acceptance Rate** : **54.43 %**
1818
1919
------
2020

markdowns/_111. Minimum Depth of Binary Tree.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
> **Related Topics** : **[Tree](<by_topic/Tree.md>), [Depth-First Search](<by_topic/Depth-First Search.md>), [Breadth-First Search](<by_topic/Breadth-First Search.md>), [Binary Tree](<by_topic/Binary Tree.md>)**
1616
>
17-
> **Acceptance Rate** : **49.8 %**
17+
> **Acceptance Rate** : **49.85 %**
1818
1919
------
2020

0 commit comments

Comments
 (0)