Microsoft Interview Experience | Set 65 (On-Campus for Internship IT and IDC)
Last Updated :
23 Jul, 2025
Microsoft visited our campus for hiring FTE’s and Interns. I had opted for both Microsoft IT and IDC. The first couple of rounds were online rounds and were hosted on Cocubes.com
Round 1
It comprised of 15 MCQ Questions and time allotted was 30 mins. Every student had a unique set of questions which comprised of C,C++ (I/O), Data Structures, Java, and Aptitude. The questions required a decent amount of thinking.
Round 2 (Online Coding)
1. You are given a matrix of dimensions m*n where each cell in the matrix can have values 0,1 or 2 which has the following meaning :
0:empty cell
1:cells have fresh oranges
2:cells have rotten oranges
So we have to determine what is the minimum time required so that all the oranges will be rotten. A rotten orange at index [i,j] can rot other fresh orange at indexes [i+1,j] ,[i,j+1] ,[i-1,j] ,[i,j-1]. If it is impossible to rot every orange then simply return -1.
This was to be done without allocating any extra space.
2. Connect all leaf nodes of a binary tree to make a LL. (Without allocating any extra space for the linked list).
Now, around 30 students were shortlisted for Microsoft IT and around 40 for IDC. There were some people who got short listed for both. I was lucky enough to sit for both of them.
From here I will write the processes for IDC and IT separately.
FOR IT
Round 3(Group Fly Round)
Some people who had a high score in the 1st and 2nd rounds did not have to appear this round. They were promoted for the next rounds.
There were two questions.
- Given a string (Assume that its case insensitive and has no spaces), find the length of the largest palindromic substring.
While the brute force solution would have O(n^2) complexity, with some thinking you can arrive at a O(n^2) solution.
- Given a string , return the length of the longest substring which comprises of consecutive characters.
Ex: abcxy
Output:
3
abc
Discuss your approach with your mentors and be very clear about it. Write comments on the paper code.
Round 4 (Technical PI)
The interviewer was nice and made me feel extremely confident. He went through my resume and asked me a few basic questions on data structures that we use. Also know the efficiency of using each data structure and there pros and cons.
He first asked me to write a code to implement the “Evaluate Function” of Microsoft Excel. I gave him the solution where we convert the expression from infix to postfix and then evaluate the postfix expression. However, I was aware that this solution would not work for 2 digit number (or results). So I suggested an improvement by taking input as a string and then converting the string into an integer. The interviewer was satisfied with the logic.
He then asked me if I knew anything about encryption. Though I didn’t have a very clear idea but I told him about some ciphers that can be used.
I had only one project on my resume. We had a 15 minute discussion of the challenges faced in making it and how it could be further improved.
The interview lasted for around 40-45 mins.
Round 5 (As Appropriate AA)
Now people who did relatively well in the previous technical round qualified for this.
The interviewer was again very warm. Though my CGPA was high, it kept decreasing every semester. He asked me the reason for this.
Then we discussed about my experience and work at one of the earlier places that I had interned. And he asked a few other questions like “Why Microsoft? “ and “What I can do to improve Microsoft?”.
Just be honest and confident about what you speak. And this round should go smooth.
FOR IDC
It followed a very similar structure like the IT interviews. The interviews here focused more on coding and databases. There were two Technical PI rounds instead of one after the group fly round.
The question tested the fundamentals and data structures.
There was a question on implementing a data structure to store a word along with all of its acronyms from a dictionary such that we can search it efficiently.
Thanks to GeeksforGeeks for building such a repository. I have learned a lot from this forum in the last one year. Awesome platform. And I would urge others who gain from this platform to contribute their experiences as well.
Cheers.
Similar Reads
Microsoft Interview experience | Set 126 (On-Campus for Internship) Written Test: I am not going to say questions were very easy. Its totally depend on you. So I just want to tell you the type of questions. For doing really best, you should have good knowledge of linked list implementation of the binary tree, BST and some thing related with it. Nothing was random th
4 min read
Microsoft Interview Experience | Set 60 (On-Campus for Internship) Microsoft came to our campus. Branches eligible was CS and IT. There were a total of 4 rounds. Round 1: MCQ round In this round there were a total of 15 MCQâs and the time alloted was 30 mins.The questions were mainly from C/C++/Java output finding, pointers and references and basic puzzles. I was a
3 min read
Microsoft Interview Experience | Set 70 (On-Campus for IDC and IT) Microsoft recently visited campus to hire interns for IDC and IT profiles. I'd like to share my experiences. Online MCQ Round - about 15 questions and 30 minutes - MCQ questions on cocubes.com Problems were mostly output type questions in C and Java with a few questions on Combinatorics.. Online Cod
4 min read
Microsoft Interview Experience | Set 134 (On-Campus for Internship) First round was a 75 minutes online round in which 3 simple questions were asked. First question was given two numbers n,m find a number closest to n and divisible by m. Second question was given a string consisting of only 0,1,A,B,C where A=AND B=OR and C= XOR. Calculate the value of the string mov
2 min read
Microsoft Interview experience | Set 121 (On-Campus for Internship) Round 1: We were given 3 coding questions.There were many different sets.Most questions were implementation based.Some of them were based on data structure like linklist and bst. They were:- Inorder successor of given node in bst merge two sorted linklist in reverse order longest increasing subseque
2 min read
Microsoft IDC Interview Experience | Set 38 (For Internship) I completed my internship at MS-IDC this summer. Here is my interview experience. Round 1(Online MCQ): Varying level of difficulty. 15 MCQs. Topics: C/C++, data structures, DBMS, OS, Networking Round 2(Coding test-online): Two coding questions were given. Fairly simple. One was to print nth element
2 min read