leetcode

3. Longest Substring Without Repeating Characters

Solution

Time complexity: O(n)

k = alphabet = 128

Space complexity: O(k)