← Back to experiences
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/experiences/…$
Interview for Microsoft SDE 2 Position
Round 1 The interviewer asked me to find the longest substring without repeating characters. I missed some edge cases such as spaces, uppercase and lowercase letters, and special characters. I coded a solution, but it did not produce the correct output. Then, I was asked to print all the longest substrings (e.g., for the input string "abcda", the output should include "abcd" and "bcda"). I coded a solution for this, but I did not get the correct output. I got a little nervous and missed some details.
Round 2 This was a design round. The interviewer asked me to design a system to detect duplicate data in a file. We discussed various approaches, database design, and latency considerations.
Result: Rejected