start
This commit is contained in:
commit
e4d7afc06a
12
3.longest-substring-without-repeating-characters.ts
Normal file
12
3.longest-substring-without-repeating-characters.ts
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
// @leet start
|
||||||
|
function lengthOfLongestSubstring(s: string): number {
|
||||||
|
let max = 0;
|
||||||
|
|
||||||
|
s.split("").map((value, index) => {
|
||||||
|
const seenString = new Set();
|
||||||
|
while (true) { }
|
||||||
|
});
|
||||||
|
|
||||||
|
return max;
|
||||||
|
}
|
||||||
|
// @leet end
|
||||||
Loading…
x
Reference in New Issue
Block a user