更新 test.java
parent
86ebccaff6
commit
2e608b6f23
|
|
@ -11,7 +11,7 @@ public class test {
|
||||||
String s2 = "pwwkew";
|
String s2 = "pwwkew";
|
||||||
String s3 = "ckilbkd";
|
String s3 = "ckilbkd";
|
||||||
String s4 = "dvdf";
|
String s4 = "dvdf";
|
||||||
System.out.println(lengthOfLongestSubstring(s));
|
System.out.println(lengthOfLongestSubstring(s3));
|
||||||
|
|
||||||
}
|
}
|
||||||
public static int lengthOfLongestSubstring(String s) {
|
public static int lengthOfLongestSubstring(String s) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue