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 @@ -213,7 +213,7 @@ Your ideas/fixes/algorithms are more than welcome!
213
213
|392|[ Is Subsequence] ( https://leetcode.com/problems/is-subsequence/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_392.java ) | O(m* n)|O(1) | Medium| Array, String
214
214
| 390| [ Elimination Game] ( https://leetcode.com/problems/elimination-game/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_390.java ) | O(logn)| O(1) | Medium|
215
215
| 389| [ Find the Difference] ( https://leetcode.com/problems/find-the-difference/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_389.java ) | O(n)| O(1) | Easy|
216
- |388|[ Longest Absolute File Path] ( https://leetcode.com/problems/longest-absolute-file-path/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/LongestAbsoluteFilePath .java ) | O(n)|O(d) | Medium| Stack
216
+ |388|[ Longest Absolute File Path] ( https://leetcode.com/problems/longest-absolute-file-path/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_388 .java ) | O(n)|O(d) | Medium| Stack
217
217
|387|[ First Unique Character in a String] ( https://leetcode.com/problems/first-unique-character-in-a-string/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_387.java ) | O(n)|O(n) | Easy| HashMap
218
218
| 386| [ Lexicographical Numbers] ( https://leetcode.com/problems/lexicographical-numbers/ ) | [ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_386.java ) | O(n)| O(1) | Medium|
219
219
|385|[ Mini Parser] ( https://leetcode.com/problems/mini-parser/ ) |[ Solution] ( ../master/src/main/java/com/fishercoder/solutions/_385.java ) | O(n)|O(h) | Medium| Stack
Original file line number Diff line number Diff line change 4
4
5
5
import java .util .Stack ;
6
6
7
- public class LongestAbsoluteFilePath {
7
+ public class _388 {
8
8
public static int lengthLongestPath (String input ) {
9
9
Stack <Integer > stack = new Stack ();
10
10
int longestLen = 0 , currDirLen = 0 ;
You can’t perform that action at this time.
0 commit comments