CodingReported in a candidate post, Oct 2022
Longest Substring with K Distinct Characters
Filed under Cohesity
The question
Find the length of the longest substring with K distinct characters using a sliding window approach.
No write-up yet. Related questions below have one.
Related Cohesity questions
Collected from public candidate posts and coding forums. Updated Nov 2026.