Open In App

Microsoft Interview Experience | Set 148 (Internship IDC Pool Campus)

Improve
Improve
Like Article
Like
Save
Share
Report

Round 1: (Online Coding)

Online coding round on co-cubes platform. 3 Questions 75 mins. Questions are very easy.

  1. Given two arrays find the min in first array and max in the second array and return the product of the two elements(2 marks)
  2. Given a 2d matrix and a column we have to sort the rows of the matrix based on element present at that column in that row(3 marks)
  3. Link the nodes at same level in a binary tree(5 marks)

12 Out of 45 were shortlisted for the next rounds. This is a pool campus Interview A total of 50 students from 5 different colleges in Bangalore were shortlisted for the Interview round.

Round 2: (Group Fly round)

  1. Given a sorted string. Like aaaabbccc. You have to modify the string to a4b2c3. Constraints such as we should not traverse the string again. It should be in-place like we should not construct a new string.
    Solution : GeeksforGeeks Link

The aim of this round is to eliminate half of the contestants.

Round 3: (Technical F2F)

    This is the first face to face Interview and The interviewer was very strict he was not at all helping me and also he was discouraging me.

  1. He gave me a easy question in a very complex manner. ultimately the question was just finding the minimum spanning tree.

Round 4: (Technical F2F)

  1. Check if a linked list is a palindrome. Without Altering the linked list. Traverse once. Constant extra space. O(n) complexity.
  2. Given a matrix that is sorted in row wise and column wise, Search for an element x. He is expecting a complexity in log scale.
  3. Implement c++ ’s atoi function

The Interviewer gave me a hint for the first question but I was not able to do the first question and he was not encouraging me.

Round 5: (Technical F2F)

  1. Given two sorted linked list merge them into a single linked list. You are supposed to remove duplicates while merging you are not suppose to create any new node in the process. In single traversal.
  2. You are given an array where each element signify number of jumps that you can make from that position. You need to find out the minimum number of jumps required to reach the end of the array.
  3. Each course is having some dependencies on other courses. In a semester you can take any number of courses but for taking a course all its dependent courses should be taken. You need to find out minimum number of semesters needed to complete all the courses.
    Example: C, Basic data structures, c++(Depends on C), Advanced Data structures(depends on Basic ds), Java (depends on c,c++, Advanced Ds). You can complete all the courses in 3 semesters (Sem1: C,BDS; Sem2: c++,ADS; Sem3: Java)

The interviewer was very helpful encouraging.

Round 6: (Technical + HR)

  1. Wap to Reverse a linked list using recursion. ( He asked me to explain the solution with a recursive call stack)
  2. You are having N blocks of memory create two functions get and release.
    Function Get(x) takes x as input and it should assign x blocks of contiguous memory and return the index where the x starts.
    Function release takes the memory index and frees the memory.
  3. He about my Internship experience and work done at Paytm
  4. Why Microsoft?
  5. Why should we hire you? 

At each and every round they are testing how good you write code. They asked me to write code for each and every question. They are also checking how good your variable names are and your coding style. They want each and every solution to be optimised in both space and time complexity. Remember that O(2N) is not equal to O(N) for them and also for most of the other companies. They need it in one traversal. Total of 9 students out of 50 was selected. With the help of Geeks for Geeks, I also got selected for the Internship.


Last Updated : 18 Dec, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads