Skip to content

Commit e2302aa

Browse files
edit 251
1 parent 1ada270 commit e2302aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Your ideas/fixes/algorithms are more than welcome!
338338
|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
339339
|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
340340
|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|
342342
|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
343343
|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) |
344344
|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

src/main/java/com/fishercoder/solutions/Flatten2DVector.java renamed to src/main/java/com/fishercoder/solutions/_251.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Not sure? Think about how you would implement hasNext(). Which is more complex?
3030
Follow up:
3131
As an added challenge, try to code it using only iterators in C++ or iterators in Java.*/
3232

33-
public class Flatten2DVector {
33+
public class _251 {
3434

3535
class Vector2D implements Iterator<Integer> {
3636
private Queue<Integer> cache;

0 commit comments

Comments
 (0)