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 @@ -335,7 +335,7 @@ Your ideas/fixes/algorithms are more than welcome!
335
335
|257|[ Binary Tree Paths] ( https://leetcode.com/problems/binary-tree-paths/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_257.java ) | O(n* h) | O(h) | DFS/Recursion
336
336
|256|[ Paint House] ( https://leetcode.com/problems/paint-house/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/PaintHouse.java ) | O(n) | O(1) | Medium| DP
337
337
|255|[ Verify Preorder Sequence in Binary Search Tree] ( https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_255.java ) | O(n) | O(h) | Medium| Tree
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
338
+ |254|[ Factor Combinations] ( https://leetcode.com/problems/factor-combinations/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_254 .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
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|
Original file line number Diff line number Diff line change 38
38
[4, 8]
39
39
]
40
40
*/
41
- public class FactorCombinations {
41
+ public class _254 {
42
42
43
43
public List <List <Integer >> getFactors (int n ) {
44
44
List <List <Integer >> result = new ArrayList <List <Integer >>();
You can’t perform that action at this time.
0 commit comments