Skip to content

Commit cda7e1b

Browse files
committed
2022-08-28-18:46-push
1 parent 595e8c7 commit cda7e1b

File tree

1 file changed

+7
-0
lines changed
  • src/leetcode/Test0003_LongestSubstringWithoutRepeatingCharacters

1 file changed

+7
-0
lines changed

src/leetcode/Test0003_LongestSubstringWithoutRepeatingCharacters/Main.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ public static void main(String[] args) {
3434
}
3535
}
3636

37+
//todo
38+
public static int longestSubstringWithoutRepeatingCharacters02(String string) {
39+
int longest = 0;
40+
return longest;
41+
}
42+
43+
//暴力解法
3744
public static int longestSubstringWithoutRepeatingCharacters(String string) {
3845
int longest = 0;
3946
for (int i = 0; i < string.length(); i++) {

0 commit comments

Comments
 (0)