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 @@ -258,7 +258,7 @@ Your ideas/fixes/algorithms are more than welcome!
258
258
| 338| [ Counting Bits] ( https://leetcode.com/problems/counting-bits/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_338.java ) | O(nlogn)| O(h) | Medium|
259
259
|337|[ House Robber III] ( https://leetcode.com/problems/house-robber-iii/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_337.java ) | O(n)|O(n)| Medium | DP
260
260
| 336| [ Palindrome Pairs] ( https://leetcode.com/problems/palindrome-pairs/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/PalindromePairs.java ) | O(n^2)| O(n) | Hard|
261
- | 334| [ Increasing Triplet Subsequence] ( https://leetcode.com/problems/increasing-triplet-subsequence/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/IncreasingTripletSubsequence .java ) | O(n^2)| O(1) | Medium|
261
+ | 334| [ Increasing Triplet Subsequence] ( https://leetcode.com/problems/increasing-triplet-subsequence/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_334 .java ) | O(n^2)| O(1) | Medium|
262
262
|333|[ Largest BST Subtree] ( https://leetcode.com/problems/largest-bst-subtree/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_333.java ) | O(n)|O(n) | Medium| Tree
263
263
|332|[ Reconstruct Itinerary] ( https://leetcode.com/problems/reconstruct-itinerary/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_332.java ) | O(n)|O(n) | Medium| Graph, DFS
264
264
|331|[ Verify Preorder Serialization of a Binary Tree] ( https://leetcode.com/problems/verify-preorder-serialization-of-a-binary-tree/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_331.java ) | O(n)|O(n) | Medium| Stack
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Your algorithm should run in O(n) time complexity and O(1) space complexity.
15
15
Given [5, 4, 3, 2, 1],
16
16
return false.
17
17
*/
18
- public class IncreasingTripletSubsequence {
18
+ public class _334 {
19
19
20
20
public boolean increasingTriplet (int [] nums ) {
21
21
if (nums == null || nums .length == 0 ) return false ;
You can’t perform that action at this time.
0 commit comments