Microsoft Hiring Event (Virtual onsite) Experience

Hello there Leet coders,
I attended the hiring event interviews for "SDE I" yesterday, And wanted to share my experience in case it helps.

They were 4 interviews with a 30 min break between each one. All of them were coding the fourth one had a bit of front and back-end / system design questions as well.

Interviewers really wanted to hear your thought process how you would approach the problem before jumping into coding and also tracing your code and checking for bugs and edge cases.

Some Interviewers shared CodeShare.io links and let you change the settings and have syntax highlighting some didn't and one let me code in any editor of my preferences as long as I'm whiteboarding and not running the code.
the coding questions were

  1. Longest Substring with no repeating characters
  2. Design a Maximum Frequency Stack -- https://leetcode.com/problems/maximum-frequency-stack/
  3. Checking if a 2 values in an array add up to a third;
  4. Write a function that takes an array of integers as input corresponding to the daily transactions of an account and
    returns the number of suspicious transactions where suspicious transactions are defined as:
    transactions that are 2x larger than the median transaction in the previous window of size W.
    Sample input:
    Arr = [100, 0, 200, 200, 500, 300, 650]
    W = 3

Sample output:
2

So yeah hope this helps and if anybody has some questions feel free to reach out and good luck :) !

Comments (6)