Microsoft | Software Engineer (Junior/New Grad) | Coding | Phone Screen

wuming233333wuming233333·
Interview Date:October 16, 2026Region:NA (North America)Hiring Team/Org:General Hire

Given a string s, find the length of the longest substring without duplicate characters. A substring is a contiguous sequence of characters within a string. Example 1: Input: s = "zxyzxyz" Output: 3 Explanation: The string "xyz" is the longest without duplicate characters. Example 2: Input: s = "xxxx" Output: 1 Constraints: 0 <= s.length <= 50,000 s may consist of printable ASCII characters.

Sign in to view the full interview experience

Create or use your InterviewDB account to read the full Warren post and all shared details.

Sign in to continue
0

Discussion

0

Log in to post a comment or vote.

Sort by
Loading comments...

Interview Resources

InterviewDB

About InterviewDB

Crowdsourced Interview Question Bank for Job Seekers in Tech/Finance Industry

Copyright © 2026 InterviewDB. Victory is reserved for those who are willing to pay its price.