Seems like there’s an invalid test case when I try to submit my solution for this problem.
Testcase 12 : expected 'input_str' to have 1 <= size <= 50000 but got 0
Looks like the input string cannot be empty based on the problem constraints?
Course: Grokking Coding Interview Patterns in Go - Learn Interactively
Lesson: Longest Substring without Repeating Characters