Microsoft | Onsite | Senior Software engineer - Vancouver

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-01-28Added By Anonymous
Source: Link

Online assessment:


Got 2 questions

1.https://leetcode.com/problems/longest-happy-string/
2.Given a code and ask debugging (Given a strictly increasing sequence of number n numbers from 1..n+1, fix the code to return correct output.)
3.

Onsite: (Virtual - 4 rounds - 45 min each with 15 min break between the rounds)

ALL the interviewers very polite and professional.


Round One:

Behaviour: Time you identified/uncovered a critical issue and saved the disaster that might potentially happen in your team.

Coding: Implement write through cache(have to write both in cache and DB before returning success) in a multi threaded environment. Read heavy system.


Round two:

Behavior: How did u resolve conflict with your collegue

Coding: Implementation C++ file processor. Eg: Given a array of strings as follows. return the valid array of strings.

#define FOO

#undef BAR

b

#if FOO

c

d

#endIF

#IF BAR

e

f

#endIF

the result set should contain b,c,d not e f


Round three:

Behaviour - skills you would like to improve.

Coding: code IOC functionality without library

IOC.register(classidentifier,....)

IOC.get(classidentifier) - return the registered object


Round Four:

Behaviour - Situation when u took the customer/client feedback and acted upon/delivered it.

Coding:lock and unlock library without using any inbuilt library in multithreaded environment..

Did not expect complier level design questions since i have worked mostly on end user applications. Hence got Rejected.

Hope this post will be useful for some out there who is preparing for job interview like me. :)

Comments