Longest Contiguous Subarray with All Unique Show Names
Problem: Longest Contiguous Subarray with All Unique Show Names
Given a list of show names shows (array of strings), return the length of the longest contiguous subarray such that all show n...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
