@@ -50,6 +50,9 @@ My accepted leetcode solutions to some of the common interview problems.
50
50
- [ Max Consecutive Ones] ( problems/src/array/MaxConsecutiveOnes.java ) (Easy)
51
51
- [ Max Consecutive Ones II] ( problems/src/array/MaxConsecutiveOnesII.java ) (Medium)
52
52
- [ Add to Array-Form of Integer] ( problems/src/array/AddToArrayFormOfInteger.java ) (Easy)
53
+ - [ Find Pivot Index] ( problems/src/array/FindPivotIndex.java ) (Easy)
54
+ - [ Largest Time for Given Digits] ( problems/src/array/LargestTimeForGivenDigits.java ) (Easy)
55
+ - [ Minimum Time Difference] ( problems/src/array/MinimumTimeDifference.java ) (Medium)
53
56
54
57
#### [ Backtracking] ( problems/src/backtracking )
55
58
@@ -87,6 +90,7 @@ My accepted leetcode solutions to some of the common interview problems.
87
90
- [ H-Index II] ( problems/src/binary_search/HIndexII.java ) (Medium)
88
91
- [ Swim in Rising Water] ( problems/src/binary_search/SwimInRisingWater.java ) (Hard)
89
92
- [ Time Based Key-Value Store] ( problems/src/binary_search/TimeBasedKeyValuePair.java ) (Medium)
93
+ - [ Minimum Window Subsequence] ( problems/src/binary_search/MinimumWindowSubsequence.java ) (Hard)
90
94
91
95
#### [ Bit Manipulation] ( problems/src/bit_manipulation )
92
96
@@ -131,6 +135,7 @@ My accepted leetcode solutions to some of the common interview problems.
131
135
- [ All Paths From Source to Target] ( problems/src/depth_first_search/AllPathsFromSourceToTarget.java ) (Medium)
132
136
- [ Max Area of Island] ( problems/src/depth_first_search/MaxAreaOfIsland.java ) (Medium)
133
137
- [ Satisfiability of Equality Equations] ( problems/src/depth_first_search/SatisfiabilityOfEquations.java ) (Medium)
138
+ - [ Number of Enclaves] ( problems/src/depth_first_search/NumberOfEnclaves.java ) (Medium)
134
139
135
140
#### [ Design] ( problems/src/design )
136
141
@@ -157,6 +162,7 @@ My accepted leetcode solutions to some of the common interview problems.
157
162
- [ Reverse Pairs] ( problems/src/divide_and_conquer/ReversePairs.java ) (Hard)
158
163
- [ Search in a 2D Matrix] ( problems/src/divide_and_conquer/SearchA2DMatrix.java ) (Medium)
159
164
- [ 24 Game] ( problems/src/divide_and_conquer/TwentyFourGame.java ) (Hard)
165
+ - [ Reverse Pairs II] ( problems/src/divide_and_conquer/ReversePairsII.java ) (Hard)
160
166
161
167
#### [ Dynamic Programming] ( problems/src/dynamic_programming )
162
168
@@ -211,6 +217,7 @@ My accepted leetcode solutions to some of the common interview problems.
211
217
- [ Out of Boundary Paths] ( problems/src/dynamic_programming/OutOfBoundaryPaths.java ) (Medium)
212
218
- [ Remove Boxes] ( problems/src/dynamic_programming/RemoveBoxes.java ) (Hard)
213
219
- [ Stickers to Spell Word] ( problems/src/dynamic_programming/StickersToSpellWord.java ) (Hard)
220
+ - [ Ones and Zeroes] ( problems/src/dynamic_programming/OnesAndZeroes.java ) (Medium)
214
221
215
222
#### [ Greedy] ( problems/src/greedy )
216
223
@@ -247,6 +254,7 @@ My accepted leetcode solutions to some of the common interview problems.
247
254
- [ Substring with Concatenation of All Words] ( problems/src/hashing/SubstringConcatenationOfWords.java ) (Hard)
248
255
- [ Distribute Candies] ( problems/src/hashing/DistributeCandies.java ) (Easy)
249
256
- [ Groups of Special-Equivalent Strings] ( problems/src/hashing/GroupsOfSpecialEquivalentStrings.java ) (Easy)
257
+ - [ Number of Atoms] ( problems/src/hashing/NumberOfAtoms.java ) (Hard)
250
258
251
259
#### [ Heap] ( problems/src/heap )
252
260
@@ -271,6 +279,8 @@ My accepted leetcode solutions to some of the common interview problems.
271
279
- [ Reverse Nodes in k-Group] ( problems/src/linked_list/ReverseNodesKGroup.java ) (Hard)
272
280
- [ Swap Nodes in Pairs] ( problems/src/linked_list/SwapNodesInPairs.java ) (Medium)
273
281
- [ Middle of Linked List] ( problems/src/linked_list/MiddleOfLinkedList.java ) (Easy)
282
+ - [ Split Linked List in Parts] ( problems/src/linked_list/SplitLinkedListInParts.java ) (Medium)
283
+ - [ Next Greater Node In Linked List] ( problems/src/linked_list/NextGreaterNodeInLinkedList.java ) (Medium)
274
284
275
285
#### [ Math] ( problems/src/math )
276
286
@@ -290,6 +300,7 @@ My accepted leetcode solutions to some of the common interview problems.
290
300
- [ Squirrel Simulation] ( problems/src/math/SquirrelSimulation.java ) (Medium)
291
301
- [ Projection Area of 3D Shapes] ( problems/src/math/ProjectionAreaOf3DShapes.java ) (Easy)
292
302
- [ Decoded String at Index] ( problems/src/math/DecodedStringAtIndex.java ) (Medium)
303
+ - [ Base 7] ( problems/src/math/Base7.java ) (Easy)
293
304
294
305
#### [ Reservoir Sampling] ( problems/src/reservoir_sampling )
295
306
@@ -345,6 +356,8 @@ My accepted leetcode solutions to some of the common interview problems.
345
356
- [ Valid Word Square] ( problems/src/string/ValidWordSquare.java ) (Easy)
346
357
- [ Reconstruct Original Digits from English] ( problems/src/string/ReconstructOriginalDigitsFromEnglish.java ) (Medium)
347
358
- [ Push Dominoes] ( problems/src/string/PushDominoes.java ) (Medium)
359
+ - [ Validate IP Address] ( problems/src/string/ValidateIPAddress.java ) (Medium)
360
+ - [ Reverse String II] ( problems/src/string/ReverseStringII.java ) (Easy)
348
361
349
362
#### [ Tree] ( problems/src/tree )
350
363
@@ -380,7 +393,7 @@ My accepted leetcode solutions to some of the common interview problems.
380
393
- [ Average of Levels in Binary Tree] ( problems/src/tree/AverageOfLevelsInBinaryTree.java ) (Easy)
381
394
- [ Convert Binary Search Tree to Sorted Doubly Linked List] ( problems/src/tree/BSTtoDoublyLinkedList.java ) (Easy)
382
395
- [ Same Tree] ( problems/src/tree/SameTree.java ) (Easy)
383
- - [ Binary Tree Longest Consecutive Sequence II] ( problems/src/tree/BinaryTreeLongestConsecutiveSequenceII.java ) (Medium)
396
+ - [ Binary Tree Longest Consecutive SequencefindMinDifference II] ( problems/src/tree/BinaryTreeLongestConsecutiveSequenceII.java ) (Medium)
384
397
- [ Minimum Absolute Difference in BST] ( problems/src/tree/MinimumAbsoluteDifferenceInBST.java ) (Medium)
385
398
- [ Equal Tree Partition] ( problems/src/tree/EqualTreePartition.java ) (Medium)
386
399
- [ Split BST] ( problems/src/tree/SplitBST.java ) (Medium)
@@ -392,6 +405,10 @@ My accepted leetcode solutions to some of the common interview problems.
392
405
- [ Convert BST to Greater Tree] ( problems/src/tree/ConvertBSTToGreaterTree.java ) (Easy)
393
406
- [ All Nodes Distance K in Binary Tree] ( problems/src/tree/AllNodesDistanceKInBinaryTree.java ) (Medium)
394
407
- [ All Possible Full Binary Trees] ( problems/src/tree/AllPossibleFullBinaryTrees.java ) (Medium)
408
+ - [ Flip Equivalent Binary Trees] ( problems/src/tree/FlipEquivalentBinaryTrees.java ) (Medium)
409
+ - [ Construct Binary Tree from String] ( problems/src/tree/ConstructBinaryTreefromString.java ) (Medium)
410
+ - [ Find Largest Value in Each Tree Row] ( problems/src/tree/FindLargestValueInEachTreeRow.java ) (Medium)
411
+ - [ Find Bottom Left Tree Value] ( problems/src/tree/FindBottomLeftTreeValue.java ) (Medium)
395
412
396
413
#### [ Two Pointers] ( problems/src/two_pointers )
397
414
0 commit comments