Microsoft
More Experiences
Microsoft | SWE 2 | Round 1 | Rejected
October 30, 2025 • 19 reads
Summary
Applied through Microsoft Portal and completed the OA. Had a technical pre-screen round with a question on minimum substring with at least k distinct characters. The candidate implemented the solution successfully but missed a null test case. No further communication from HR.
Full Experience
Applied on the Microsoft Portal
Had Given the OA.
HR Called and scheduled a technical pre screen round.
Q. Was asked : Minimum substring with atleast k distinct characters.
Pretty common question, and had been asked in another Microsoft OA as well.
I implemented it and it ran in one go.
Then she asked to write some test cases for it.
I missed the Null test case.
Never heard from the HR again!
Interview Questions (1)
Q1
Minimum Substring with At Least k Distinct Characters
Data Structures & Algorithms
Was asked : Minimum substring with atleast k distinct characters.