@@ -47,6 +47,8 @@ My accepted leetcode solutions to some of the common interview problems.
|
47 | 47 | - [Valid Tic-Tac-Toe State](problems/src/array/ValidTicTacToeState.java) (Medium)
|
48 | 48 | - [Number of Subarrays with Bounded Maximum](problems/src/array/SubArraysWitundedMaximum.java) (Medium)
|
49 | 49 | - [Surface Area of 3D Shapes](problems/src/array/SurfaceAreaOfThreeDShapes.java) (Easy)
|
| 50 | +- [Max Consecutive Ones](problems/src/array/MaxConsecutiveOnes.java) (Easy) |
| 51 | +- [Max Consecutive Ones II](problems/src/array/MaxConsecutiveOnesII.java) (Medium) |
50 | 52 |
|
51 | 53 | #### [Backtracking](problems/src/backtracking)
|
52 | 54 |
|
@@ -67,7 +69,8 @@ My accepted leetcode solutions to some of the common interview problems.
|
67 | 69 | - [Expression Add Operators](problems/src/backtracking/ExpressionAddOperators.java) (Hard)
|
68 | 70 | - [Wildcard Matching](problems/src/backtracking/WildcardMatching.java) (Hard)
|
69 | 71 | - [Letter Case Permutation](problems/src/backtracking/LetterCasePermutation.java) (Easy)
|
70 |
| - |
| 72 | +- [Zuma Game](problems/src/backtracking/ZumaGame.java) (Hard) |
| 73 | +- [Matchsticks to Square](problems/src/backtracking/MatchsticksToSquare.java) (Medium) |
71 | 74 |
|
72 | 75 | #### [Binary Search](problems/src/binary_search)
|
73 | 76 |
|
@@ -82,13 +85,15 @@ My accepted leetcode solutions to some of the common interview problems.
|
82 | 85 | - [Target Sum](problems/src/binary_search/TargetSum.java) (Medium)
|
83 | 86 | - [H-Index II](problems/src/binary_search/HIndexII.java) (Medium)
|
84 | 87 | - [Swim in Rising Water](problems/src/binary_search/SwimInRisingWater.java) (Hard)
|
| 88 | +- [Time Based Key-Value Store](problems/src/binary_search/TimeBasedKeyValuePair.java) (Medium) |
85 | 89 |
|
86 | 90 | #### [Bit Manipulation](problems/src/bit_manipulation)
|
87 | 91 |
|
88 | 92 | - [Gray Code](problems/src/bit_manipulation/GrayCode.java) (Medium)
|
89 | 93 | - [Hamming Distance](problems/src/bit_manipulation/HammingDistance.java) (Easy)
|
90 | 94 | - [Total Hamming Distance](problems/src/bit_manipulation/TotalHammingDistance.java) (Medium)
|
91 | 95 | - [Divide Two Integers](problems/src/bit_manipulation/DivideTwoIntegers.java) (Medium)
|
| 96 | +- [Binary Number with Alternating Bits](problems/src/bit_manipulation/BinaryNumberWithAlternatingBits.java) (Easy) |
92 | 97 |
|
93 | 98 | #### [Breadth First Search](problems/src/breadth_first_search)
|
94 | 99 |
|
@@ -123,6 +128,7 @@ My accepted leetcode solutions to some of the common interview problems.
|
123 | 128 | - [Robot Room Cleaner](problems/src/depth_first_search/RobotRoomCleaner.java) (Hard)
|
124 | 129 | - [ing the Safe](problems/src/depth_first_search/ingTheSafe.java) (Hard)
|
125 | 130 | - [All Paths From Source to Target](problems/src/depth_first_search/AllPathsFromSourceToTarget.java) (Medium)
|
| 131 | +- [Max Area of Island](problems/src/depth_first_search/MaxAreaOfIsland.java) (Medium) |
126 | 132 |
|
127 | 133 | #### [Design](problems/src/design)
|
128 | 134 |
|
@@ -148,6 +154,7 @@ My accepted leetcode solutions to some of the common interview problems.
|
148 | 154 | - [Kth Largest Element In a Array](problems/src/divide_and_conquer/KthLargestElementInAnArray.java) (Medium)
|
149 | 155 | - [Reverse Pairs](problems/src/divide_and_conquer/ReversePairs.java) (Hard)
|
150 | 156 | - [Search in a 2D Matrix](problems/src/divide_and_conquer/SearchA2DMatrix.java) (Medium)
|
| 157 | +- [24 Game](problems/src/divide_and_conquer/TwentyFourGame.java) (Hard) |
151 | 158 |
|
152 | 159 | #### [Dynamic Programming](problems/src/dynamic_programming)
|
153 | 160 |
|
@@ -197,6 +204,9 @@ My accepted leetcode solutions to some of the common interview problems.
|
197 | 204 | - [Odd Even Jump](problems/src/dynamic_programming/OddEvenJump.java) (Hard)
|
198 | 205 | - [Profitable Schemes](problems/src/dynamic_programming/ProfitableSchemes.java) (Hard)
|
199 | 206 | - [Maximum Vacation Days](problems/src/dynamic_programming/MaximumVacationDays.java) (Hard)
|
| 207 | +- [Russian Doll Envelopes](problems/src/dynamic_programming/RussianDollEnvelopes.java) (Hard) |
| 208 | +- [Student Attendance Record II](problems/src/dynamic_programming/StudentAttendanceRecordII.java) (Hard) |
| 209 | +- [Out of Boundary Paths](problems/src/dynamic_programming/OutOfBoundaryPaths.java) (Medium) |
200 | 210 |
|
201 | 211 | #### [Greedy](problems/src/greedy)
|
202 | 212 |
|
@@ -212,6 +222,8 @@ My accepted leetcode solutions to some of the common interview problems.
|
212 | 222 | - [Lemonade Change](problems/src/greedy/LemonadeChange.java) (Easy)
|
213 | 223 | - [Score After Flipping Matrix](problems/src/greedy/ScoreAfterFlippingMatrix.java) (Medium)
|
214 | 224 | - [IPO](problems/src/greedy/IPO.java) (Hard)
|
| 225 | +- [String Without AAA or BBB](problems/src/greedy/StringWithout3A3B.java) (Medium) |
| 226 | +- [Boats to Save People](problems/src/greedy/BoatsToSavePeople.java) (Medium) |
215 | 227 |
|
216 | 228 | #### [Hashing](problems/src/hashing)
|
217 | 229 |
|
@@ -240,6 +252,7 @@ My accepted leetcode solutions to some of the common interview problems.
|
240 | 252 | - [Candy](problems/src/heap/Candy.java) (Hard)
|
241 | 253 | - [Smallest Rotation with Highest Score](problems/src/heap/SmallestRotationWithHighestScore.java) (Hard)
|
242 | 254 | - [Maximum Frequency Stack](problems/src/heap/FreqStack.java) (Hard)
|
| 255 | +- [Reachable Nodes In Subdivided Graph](problems/src/heap/ReachableNodesInSubdividedGraph.java) (Hard) |
243 | 256 |
|
244 | 257 | #### [Linked List](problems/src/linked_list)
|
245 | 258 |
|
@@ -270,6 +283,7 @@ My accepted leetcode solutions to some of the common interview problems.
|
270 | 283 | - [Reaching Points](problems/src/math/ReachingPoints.java) (Hard)
|
271 | 284 | - [Nth Magical Number](problems/src/math/NthMagicalNumber.java) (Hard)
|
272 | 285 | - [Squirrel Simulation](problems/src/math/SquirrelSimulation.java) (Medium)
|
| 286 | +- [Projection Area of 3D Shapes](problems/src/math/ProjectionAreaOf3DShapes.java) (Easy) |
273 | 287 |
|
274 | 288 | #### [Reservoir Sampling](problems/src/reservoir_sampling)
|
275 | 289 |
|
@@ -320,6 +334,10 @@ My accepted leetcode solutions to some of the common interview problems.
|
320 | 334 | - [Replace Words](problems/src/string/ReplaceWords.java) (Medium)
|
321 | 335 | - [Rotate String](problems/src/string/RotateString.java) (Easy)
|
322 | 336 | - [Keyboard Row](problems/src/string/KeyboardRow.java) (Easy)
|
| 337 | +- [Student Attendance Record I](problems/src/string/StudentAttendanceRecordI.java) (Easy) |
| 338 | +- [Split Concatenated Strings](problems/src/string/SplitConcatenatedStrings.java) (Medium) |
| 339 | +- [Valid Word Square](problems/src/string/ValidWordSquare.java) (Easy) |
| 340 | +- [Reconstruct Original Digits from English](problems/src/string/ReconstructOriginalDigitsFromEnglish.java) (Medium) |
323 | 341 |
|
324 | 342 | #### [Tree](problems/src/tree)
|
325 | 343 |
|
|
0 commit comments