Microsoft Aug 14th Hiring Drive

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-08-16Added By Anonymous
Source: Link

Company: Microsoft
Role: SDE II
Interview Stage: Onsite
Location: unknown
Year: unknown

Original Post Content:

I appeared for the SDE2 August 14th drive and completed all four rounds. I noticed that my Microsoft candidate portal now shows “Not Selected,” but I have not yet received any official communication from your side.

I received positive feedback from all 3 rounds and did really well; in fact, I got really good reviews from the interviewer, though I understand my Round 1 interview didn't go well. Could anyone please confirm whether the “Not Selected” status in the portal is final, or if I should wait for an official email? As it was a hiring event with many different teams.

Round 1:
Make a deep copy of a linked list with nodes that contains a field that is a pointer to some other node in the same linked list

Round 2: (Remove duplicates both linked list and array)

# Output : 1,2,3,5
instead of array use linkedList
nums_str = input().strip()

nums_list = nums_str.split(',')

seen = set()

output_list = []
for num in nums_list:
if num not in seen:
seen.add(num)
output_list.append(num)


result = ",".join(output_list)
print(result)

Round 3:

Implement an in-memory cache with time-to-live support. Requirements: - When a key is set, it should expire in ttlInSeconds after insertion - Get should return the value only if it hasn't expired - Count should return the number of unexpired keys

Round 4:

# # bool Eval( string input, <data structure> patterns) #patterns always contain numbers and operators #no using regex # Operators supported = "-, +,=, #,%" # #Preset Patterns #_________________________________________ # 1) 1+3=9000 # 2) 1 # 3) 1-90 # 4) 5^5-5 #_____________________________________________________ # Input Strings at runtime #1) string input = "1-50=200" ==> false #2) string input1= ""1*3" ==> false #3) string input2 = "1+3" ==> false #4) string input4= "400+300=500" ==> true because it is matching pattern 1 #5) string input5="30000000" ==> true because it is matching pattern 2 #6) string input6= 50-1000000==>true because it is matching pattern 3

Comments