File tree 2 files changed +2
-2
lines changed
src/main/java/com/fishercoder/solutions
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ Your ideas/fixes/algorithms are more than welcome!
338
338
|254|[ Factor Combinations] ( https://leetcode.com/problems/factor-combinations/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/FactorCombinations.java ) | O(nlogn) | O(nlogn) | Medium| Backtracking
339
339
|253|[ Meeting Rooms II] ( https://leetcode.com/problems/meeting-rooms-ii/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_253.java ) | O(nlogn) | O(h) | Medium| Heap
340
340
|252|[ Meeting Rooms] ( https://leetcode.com/problems/meeting-rooms/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/MeetingRooms.java ) | O(nlogn) | O(1) | Easy
341
- | 251| [ Flatten 2D Vector] ( https://leetcode.com/problems/flatten-2d-vector/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/Flatten2DVector .java ) | O(1)| O(m* n) | Medium|
341
+ | 251| [ Flatten 2D Vector] ( https://leetcode.com/problems/flatten-2d-vector/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_251 .java ) | O(1)| O(m* n) | Medium|
342
342
|250|[ Count Univalue Subtrees] ( https://leetcode.com/problems/count-univalue-subtrees/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_250.java ) | O(n)|O(h) | Medium| DFS
343
343
| 249| [ Group Shifted Strings] ( https://leetcode.com/problems/group-shifted-strings/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/GroupShiftedStrings.java ) | O(nlogn) | O(n) |
344
344
|248|[ Strobogrammatic Number III] ( https://leetcode.com/problems/strobogrammatic-number-iii/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_248.java ) | O(?) | O(?) | Hard | Recursion, DFS
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Not sure? Think about how you would implement hasNext(). Which is more complex?
30
30
Follow up:
31
31
As an added challenge, try to code it using only iterators in C++ or iterators in Java.*/
32
32
33
- public class Flatten2DVector {
33
+ public class _251 {
34
34
35
35
class Vector2D implements Iterator <Integer > {
36
36
private Queue <Integer > cache ;
You can’t perform that action at this time.
0 commit comments