Skip to content

Commit 2be38ab

Browse files
edit 334
1 parent 22d43c9 commit 2be38ab

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
@@ -258,7 +258,7 @@ Your ideas/fixes/algorithms are more than welcome!
258258
|338|[Counting Bits](https://leetcode.com/problems/counting-bits/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_338.java)| O(nlogn)|O(h) | Medium|
259259
|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
260260
|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|
262262
|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
263263
|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
264264
|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

src/main/java/com/fishercoder/solutions/IncreasingTripletSubsequence.java src/main/java/com/fishercoder/solutions/_334.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Your algorithm should run in O(n) time complexity and O(1) space complexity.
1515
Given [5, 4, 3, 2, 1],
1616
return false.
1717
*/
18-
public class IncreasingTripletSubsequence {
18+
public class _334 {
1919

2020
public boolean increasingTriplet(int[] nums) {
2121
if(nums == null || nums.length == 0) return false;

0 commit comments

Comments
 (0)