Solve non-repeating show substring
NetflixSoftware Engineer · Technical ScreenLast updated
This question evaluates understanding of sequence processing, uniqueness detection, and the use of auxiliary data structures to track previously seen elements when finding non-repeating contiguous subsequences, applied to show names instead of characters.
Question
LeetCode 3. Longest Substring Without Repeating Characters – variant where the elements are show names instead of numbers.
https://leetcode.com/problems/longest-substring-without-repeating-characters/description/
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.