Microsoft | L62 Interview Experience [Offer]

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

I had all rounds on same day 29th Nov 2024


Round 1 - DSA based Round

Q1 : Task was to write a function that, for a given number n, returns the count of set bits (1s in the binary representation) for all numbers from 0 to n.


Q2 : You are given a singly linked list where consecutive nodes may contain duplicate values. The goal is to remove all consecutive nodes that have the same value, ensuring that no consecutive duplicate values remain in the resulting linked list.


Round 2 - Low Level Design Round

Q : Task: Design and Implement Logger System


Round 3 - High Level Design Round

Q : Design a solution for efficient object allocation and deallocation in a high-throughput service while ensuring thread safety, scalability, and minimizing memory overhead.

Q : Few techinal questions on Java and Garbage colllection


Round 4 - Hiring Manager Round

Had detailed discussion on my recent contribution on project.


Q1 : The task is to find the maximum value in a given range of indices (2, 5) from an array. The range is inclusive, meaning we need to consider all elements from index 2 to 5. (Segment Tree Approach)


Q2 : Problem of finding the right sibling of a given node in a binary tree where each node has pointers to its left child, right child, and parent.


Q3 : Design a One-Time Password (OTP) Service involves multiple layers of functionality, including generating OTPs, validating them, and ensuring their security.

This round went nice. I also asked a few questions in the end.

Recruiter reached out to me the next day with the offer.

Offer details

Comments