Skip to content

Commit 48385e8

Browse files
refactor 3
1 parent 4cd4fc1 commit 48385e8

File tree

1 file changed

+0
-16
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-16
lines changed

src/main/java/com/fishercoder/solutions/_3.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,6 @@
55
import java.util.Map;
66
import java.util.Set;
77

8-
/**
9-
* 3. Longest Substring Without Repeating Characters
10-
*
11-
* Given a string, find the length of the longest substring without repeating characters.
12-
13-
Examples:
14-
15-
Given "abcabcbb", the answer is "abc", which the length is 3.
16-
17-
Given "bbbbb", the answer is "b", with the length of 1.
18-
19-
Given "pwwkew", the answer is "wke", with the length of 3.
20-
21-
Note that the answer must be a substring, "pwke" is a subsequence and not a substring.
22-
*/
23-
248
public class _3 {
259

2610
public static class Solution1 {

0 commit comments

Comments
 (0)