From e4d7afc06a2a8e8c855b71bf1d2900c28e14c18a Mon Sep 17 00:00:00 2001 From: Dmitri Date: Tue, 29 Jul 2025 14:25:26 +0200 Subject: [PATCH] start --- 3.longest-substring-without-repeating-characters.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 3.longest-substring-without-repeating-characters.ts diff --git a/3.longest-substring-without-repeating-characters.ts b/3.longest-substring-without-repeating-characters.ts new file mode 100644 index 0000000..b5efca2 --- /dev/null +++ b/3.longest-substring-without-repeating-characters.ts @@ -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