Return the longest contiguous subarray with all distinct values
Company: Netflix
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: This question evaluates a candidate's understanding of array-processing algorithms, duplicate detection, and maintaining state to identify the longest contiguous subarray with distinct values, assessing algorithmic thinking and data structure usage.