It was a campus placement.
The process consisted of an online test, followed by a group fly round, and then on-campus interviews.
[Online Test]
Q1: Given prices of a stock on N days in an array, find the maximum profit that can be made by buying and selling on those days.
Q2: Given N and K, if all numbers between 1 and N are sorted lexicographically, which is the Kth number?
Q3: Given N time intervals of the day which are busy and a minimum slot duration, print all slots in which a meeting can be set.
[Interviews - Round 1]
Q1: Tell me about yourself and what you have done.
Q2: Given two nodes in a binary tree, find their LCA.
Q3: Given two sorted linked lists, merge them in place.
[Interviews - Round 2]
Q1: Given a strategy/protocol on how a producer would produce, tell the strategy for a consumer to consume in a single producer-multiple consumer model.
Q2: Write functions to find the middle node of a linked list and insert near the middle such that the middle element does not change after insertion.
[Interviews - Round 3]
Q1: Given a shuffle function that shuffles 52 cards, you want to check whether the function is a good or bad shuffler. You can do this by performing 10 million (or 100 million or 1 billion) shuffles. Now, provide an efficient strategy to perform this and suggest an efficient data structure.
Q2: This was mainly HR questions. Some of the questions were: What do you want to do in life? How did you get AIR 737 in JEE? What are your strong points/skills?
The following metrics were computed from 3 interview experiences for the Microsoft Software Engineer role in Roorkee, Uttarakhand.
Microsoft's interview process for their Software Engineer roles in Roorkee, Uttarakhand is incredibly easy as the vast majority of engineers get an offer after going through it.
Candidates reported having very good feelings for Microsoft's Software Engineer interview process in Roorkee, Uttarakhand.