educative.io

Invalid Test Case

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

1 Like

Hello @joshpark,

Thank you for reporting this issue in test cases. This has been fixed and the updated version is live now. Please let me know if you need help with anything else. Thanks!

Happy learning!