Microsoft Interview || SDE-1

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-10-22Added By Anonymous
Source: Link

Intervieweed for the position as SDE

Status: 2 YOE as SDE at an fintech start-up


Total round : 5

Round - 1. Online assesment : Two dsa question and one sql query

Round - 2: DSA (45 min)

Interview started with basic introduction & then moved to the following problems.

Q1.

meeting scheduler problem like we have to schedule 1 hour the meeting between 9 pm to 5 pm such that everyone can be available at that time.

Busy slots are given for every person

person A : 4 pm - 5 pm

person B : 12 pm - 1 pm, 3 pm - 4pm

Basically it was the extended problem of merge inteverl


Round - 3: DSA (45 min)

Q1. First n(30) digits of Pi - 3141592653589793238462643383279

['314', '49', '9001', '15926535897', '14', '4', '793', '8462643383279']

what is the minimum number of spaces you would have to put in the digits of pi such that all the resulting numbers would be found in my favorite list of numbers


output : 3 (314 15926535897 9323 8462643383279)


Round - 4: DSA (45 min)

Interview started with basic introduction & then moved to the following problems.

Q1.Find distance between 2 nodes

Q2. find minumum cost to reach from source to destination


Round - 5: Hiring Manager(45 min)

Comments