microsoft logo
Microsoft· SDE II

Microsoft | SDE2 | Bangalore | Interview experience | Online Assessment [Reject]

Result
Rejected
Location
Bangalore
Posted
12 Feb 2022
319 reads

Summary

I recently interviewed for an SDE2 position at Microsoft in Bangalore and was unfortunately rejected after the online assessment. The assessment comprised two challenging algorithmic problems.

How it went

I secured an interview opportunity with Microsoft for an SDE2 role through an HR contact on LinkedIn. After the initial call, I received a Codility test link, which I took on January 5, 2022. The online assessment was 60 minutes long and presented two distinct coding challenges. Despite my efforts, I did not pass this round and received a rejection.

Questions asked (2)

  1. 01

    Cleaning Robot

    Data Structures & Algorithms · Hard

    The first question involved a cleaning robot in a room. My task was to implement logic for the robot to clean all accessible cells in a grid. This problem was similar in concept to LeetCode's Robot Room Cleaner (a premium problem), and its detailed description can also be found here.

    Open the problem
  2. 02

    Minimum Moves to Transform List to Match Frequencies

    Data Structures & Algorithms · Hard

    The second question was about transforming a given array A of N integers, which was sorted in non-decreasing order. The goal was to reach a state where every value X present in the array occurs exactly X times. I could perform two types of moves: removing an integer or inserting an integer anywhere. This problem shares similarities with problems like Non-decreasing Array and Minimum Moves to Equal Array Elements II.

    Open the problem

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Microsoft recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!