Skip to content

Commit 5c0a4be

Browse files
committed
Additional tree questions
1 parent 02dc74f commit 5c0a4be

31 files changed

+981
-26
lines changed

README.md

+8-2
Large diffs are not rendered by default.

markdowns/Questions_By_Code_Length.md

+6
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ Calculations are based on the code files's byte sizes.
6161
| 75 | [Sort Colors](<https://leetcode.com/problems/sort-colors>) | Medium | Daily | [solution](<_75. Sort Colors.md>) | c, py | Jun 11, 2024 |
6262
| 846 | [Hand of Straights](<https://leetcode.com/problems/hand-of-straights>) | Medium | Daily, N150 | [solution](<_846. Hand of Straights.md>) | py | Jun 06, 2024 |
6363
| 3045 | [Count Prefix and Suffix Pairs II](<https://leetcode.com/problems/count-prefix-and-suffix-pairs-ii>) | Hard | | [solution](<_3045. Count Prefix and Suffix Pairs II.md>) | py | Jun 28, 2024 |
64+
| 348 | [Design Tic-Tac-Toe](<https://leetcode.com/problems/design-tic-tac-toe>) | Medium | | [solution](<_348. Design Tic-Tac-Toe.md>) | py | Jul 04, 2024 |
6465
| 572 | [Subtree of Another Tree](<https://leetcode.com/problems/subtree-of-another-tree>) | Easy | N150, B75 | [solution](<_572. Subtree of Another Tree.md>) | py | Jun 03, 2024 |
66+
| 1609 | [Even Odd Tree](<https://leetcode.com/problems/even-odd-tree>) | Medium | | [solution](<_1609. Even Odd Tree.md>) | py | Jul 05, 2024 |
6567
| 430 | [Flatten a Multilevel Doubly Linked List](<https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list>) | Medium | | [solution](<_430. Flatten a Multilevel Doubly Linked List.md>) | java, cpp | Jun 26, 2024 |
6668
| 616 | [Add Bold Tag in String](<https://leetcode.com/problems/add-bold-tag-in-string>) | Medium | | [solution](<_616. Add Bold Tag in String.md>) | py | Jun 27, 2024 |
6769
| 2 | [Add Two Numbers](<https://leetcode.com/problems/add-two-numbers>) | Medium | N150 | [solution](<_2. Add Two Numbers.md>) | java | May 22, 2024 |
@@ -82,6 +84,7 @@ Calculations are based on the code files's byte sizes.
8284
| 111 | [Minimum Depth of Binary Tree](<https://leetcode.com/problems/minimum-depth-of-binary-tree>) | Easy | | [solution](<_111. Minimum Depth of Binary Tree.md>) | c, java | Jun 07, 2024 |
8385
| 1006 | [Clumsy Factorial](<https://leetcode.com/problems/clumsy-factorial>) | Medium | | [solution](<_1006. Clumsy Factorial.md>) | c, py | Jun 11, 2024 |
8486
| 419 | [Battleships in a Board](<https://leetcode.com/problems/battleships-in-a-board>) | Medium | | [solution](<_419. Battleships in a Board.md>) | c, py | Jun 23, 2024 |
87+
| 1372 | [Longest ZigZag Path in a Binary Tree](<https://leetcode.com/problems/longest-zigzag-path-in-a-binary-tree>) | Medium | | [solution](<_1372. Longest ZigZag Path in a Binary Tree.md>) | py | Jul 05, 2024 |
8588
| 1676 | [Lowest Common Ancestor of a Binary Tree IV](<https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree-iv>) | Medium | | [solution](<_1676. Lowest Common Ancestor of a Binary Tree IV.md>) | py | Jun 29, 2024 |
8689
| 665 | [Non-decreasing Array](<https://leetcode.com/problems/non-decreasing-array>) | Medium | | [solution](<_665. Non-decreasing Array.md>) | java, py | Jun 13, 2024 |
8790
| 703 | [Kth Largest Element in a Stream](<https://leetcode.com/problems/kth-largest-element-in-a-stream>) | Easy | N150 | [solution](<_703. Kth Largest Element in a Stream.md>) | py | Jul 04, 2024 |
@@ -91,6 +94,7 @@ Calculations are based on the code files's byte sizes.
9194
| 974 | [Subarray Sums Divisible by K](<https://leetcode.com/problems/subarray-sums-divisible-by-k>) | Medium | Daily | [solution](<_974. Subarray Sums Divisible by K.md>) | java, py | Jun 09, 2024 |
9295
| 5 | [Longest Palindromic Substring](<https://leetcode.com/problems/longest-palindromic-substring>) | Medium | N150, B75 | [solution](<_5. Longest Palindromic Substring.md>) | py | Jul 04, 2024 |
9396
| 1474 | [Delete N Nodes After M Nodes of a Linked List](<https://leetcode.com/problems/delete-n-nodes-after-m-nodes-of-a-linked-list>) | Easy | | [solution](<_1474. Delete N Nodes After M Nodes of a Linked List.md>) | c, java | Jun 06, 2024 |
97+
| 794 | [Valid Tic-Tac-Toe State](<https://leetcode.com/problems/valid-tic-tac-toe-state>) | Medium | | [solution](<_794. Valid Tic-Tac-Toe State.md>) | py | Jul 04, 2024 |
9498
| 2385 | [Amount of Time for Binary Tree to Be Infected](<https://leetcode.com/problems/amount-of-time-for-binary-tree-to-be-infected>) | Medium | | [solution](<_2385. Amount of Time for Binary Tree to Be Infected.md>) | py | Jun 26, 2024 |
9599
| 414 | [Third Maximum Number](<https://leetcode.com/problems/third-maximum-number>) | Easy | | [solution](<_414. Third Maximum Number.md>) | py | May 23, 2024 |
96100
| 2046 | [Sort Linked List Already Sorted Using Absolute Values](<https://leetcode.com/problems/sort-linked-list-already-sorted-using-absolute-values>) | Medium | | [solution](<_2046. Sort Linked List Already Sorted Using Absolute Values.md>) | py | Jul 04, 2024 |
@@ -111,6 +115,7 @@ Calculations are based on the code files's byte sizes.
111115
| 1481 | [Least Number of Unique Integers after K Removals](<https://leetcode.com/problems/least-number-of-unique-integers-after-k-removals>) | Medium | | [solution](<_1481. Least Number of Unique Integers after K Removals.md>) | py | Jun 15, 2024 |
112116
| 2130 | [Maximum Twin Sum of a Linked List](<https://leetcode.com/problems/maximum-twin-sum-of-a-linked-list>) | Medium | | [solution](<_2130. Maximum Twin Sum of a Linked List.md>) | py | Jun 20, 2024 |
113117
| 1351 | [Count Negative Numbers in a Sorted Matrix](<https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix>) | Easy | | [solution](<_1351. Count Negative Numbers in a Sorted Matrix.md>) | java, py | Jun 01, 2024 |
118+
| 919 | [Complete Binary Tree Inserter](<https://leetcode.com/problems/complete-binary-tree-inserter>) | Medium | | [solution](<_919. Complete Binary Tree Inserter.md>) | py | Jul 05, 2024 |
114119
| 271 | [Encode and Decode Strings](<https://leetcode.com/problems/encode-and-decode-strings>) | Medium | N150, B75 | [solution](<_271. Encode and Decode Strings.md>) | py | Jun 12, 2024 |
115120
| 24 | [Swap Nodes in Pairs](<https://leetcode.com/problems/swap-nodes-in-pairs>) | Medium | | [solution](<_24. Swap Nodes in Pairs.md>) | c | Jun 06, 2024 |
116121
| 1 | [Two Sum](<https://leetcode.com/problems/two-sum>) | Easy | N150, B75 | [solution](<_1. Two Sum.md>) | java, py | May 22, 2024 |
@@ -250,6 +255,7 @@ Calculations are based on the code files's byte sizes.
250255
| 2317 | [Maximum XOR After Operations ](<https://leetcode.com/problems/maximum-xor-after-operations>) | Medium | | [solution](<_2317. Maximum XOR After Operations .md>) | c, java, py, cpp | Jun 24, 2024 |
251256
| 1535 | [Find the Winner of an Array Game](<https://leetcode.com/problems/find-the-winner-of-an-array-game>) | Medium | | [solution](<_1535. Find the Winner of an Array Game.md>) | py | Jun 08, 2024 |
252257
| 1404 | [Number of Steps to Reduce a Number in Binary Representation to One](<https://leetcode.com/problems/number-of-steps-to-reduce-a-number-in-binary-representation-to-one>) | Medium | Daily | [solution](<_1404. Number of Steps to Reduce a Number in Binary Representation to One.md>) | py | May 29, 2024 |
258+
| 3157 | [Find the Level of Tree with Minimum Sum](<https://leetcode.com/problems/find-the-level-of-tree-with-minimum-sum>) | Medium | | [solution](<_3157. Find the Level of Tree with Minimum Sum.md>) | py | Jul 05, 2024 |
253259
| 71 | [Simplify Path](<https://leetcode.com/problems/simplify-path>) | Medium | | [solution](<_71. Simplify Path.md>) | py | Jun 10, 2024 |
254260
| 384 | [Shuffle an Array](<https://leetcode.com/problems/shuffle-an-array>) | Medium | | [solution](<_384. Shuffle an Array.md>) | py | Jun 28, 2024 |
255261
| 82 | [Remove Duplicates from Sorted List II](<https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii>) | Medium | | [solution](<_82. Remove Duplicates from Sorted List II.md>) | py | Jul 04, 2024 |

markdowns/Questions_By_Recent.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Calculations are based on the date of the first solve.
66

77
| # | Title | Level | Cats | Solution | Languages | Date Complete |
88
|-----:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------|:---------------|:---------------------------------------------------------------------------------------------------|:---------------------------------|:----------------|
9+
| 919 | [Complete Binary Tree Inserter](<https://leetcode.com/problems/complete-binary-tree-inserter>) | Medium | | [solution](<_919. Complete Binary Tree Inserter.md>) | py | Jul 05, 2024 |
10+
| 1609 | [Even Odd Tree](<https://leetcode.com/problems/even-odd-tree>) | Medium | | [solution](<_1609. Even Odd Tree.md>) | py | Jul 05, 2024 |
11+
| 1372 | [Longest ZigZag Path in a Binary Tree](<https://leetcode.com/problems/longest-zigzag-path-in-a-binary-tree>) | Medium | | [solution](<_1372. Longest ZigZag Path in a Binary Tree.md>) | py | Jul 05, 2024 |
12+
| 3157 | [Find the Level of Tree with Minimum Sum](<https://leetcode.com/problems/find-the-level-of-tree-with-minimum-sum>) | Medium | | [solution](<_3157. Find the Level of Tree with Minimum Sum.md>) | py | Jul 05, 2024 |
13+
| 794 | [Valid Tic-Tac-Toe State](<https://leetcode.com/problems/valid-tic-tac-toe-state>) | Medium | | [solution](<_794. Valid Tic-Tac-Toe State.md>) | py | Jul 04, 2024 |
14+
| 348 | [Design Tic-Tac-Toe](<https://leetcode.com/problems/design-tic-tac-toe>) | Medium | | [solution](<_348. Design Tic-Tac-Toe.md>) | py | Jul 04, 2024 |
915
| 2058 | [Find the Minimum and Maximum Number of Nodes Between Critical Points](<https://leetcode.com/problems/find-the-minimum-and-maximum-number-of-nodes-between-critical-points>) | Medium | Daily | [solution](<_2058. Find the Minimum and Maximum Number of Nodes Between Critical Points.md>) | java, py, cpp | Jul 04, 2024 |
1016
| 703 | [Kth Largest Element in a Stream](<https://leetcode.com/problems/kth-largest-element-in-a-stream>) | Easy | N150 | [solution](<_703. Kth Largest Element in a Stream.md>) | py | Jul 04, 2024 |
1117
| 647 | [Palindromic Substrings](<https://leetcode.com/problems/palindromic-substrings>) | Medium | N150, B75 | [solution](<_647. Palindromic Substrings.md>) | py | Jul 04, 2024 |

0 commit comments

Comments
 (0)