Interview question
Find the longest substring without repeating characters
Asked in Johns Hopkins Hospital Data Engineer interviews
Asked by
30% candidates
Difficulty
Medium
Round
Technical Round
AI synthesized from candidate reports
Question 3 of 5
Find the longest substring without repeating characters
Medium60% Candidate ReportsCODINGJohns Hopkins HospitalData Engineer
Question
Find the longest substring without repeating characters
High-Level Approach
Two pointers + map; update start when duplicate seen.