We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1892a07 commit 6eaeef8Copy full SHA for 6eaeef8
3/README.md
@@ -0,0 +1,31 @@
1
+https://leetcode.com/problems/longest-substring-without-repeating-characters/
2
+
3
+Given a string `s`, find the length of the longest substring without repeating characters.
4
5
6
+Example 1:
7
+```
8
+Input: s = "abcabcbb"
9
+Output: 3
10
+Explanation: The answer is "abc", with the length of 3.
11
12
13
+Example 2:
14
15
+Input: s = "bbbbb"
16
+Output: 1
17
+Explanation: The answer is "b", with the length of 1.
18
19
20
+Example 3:
21
22
+Input: s = "pwwkew"
23
24
+Explanation: The answer is "wke", with the length of 3.
25
+Notice that the answer must be a substring, "pwke" is a subsequence and not a substring.
26
27
28
+Constraints:
29
30
+- 0 <= s.length <= 5 * 104
31
+- `s` consists of English letters, digits, symbols and spaces.
0 commit comments