Open In App

Microsoft Interview Experience | Set 74 (For Software Engineer in IT Team)

Last Updated : 15 Oct, 2015
Improve
Improve
Like Article
Like
Save
Share
Report

Have been interviewed for Microsoft India, Hyderabad location for their IT team for Software Engineer role.

Following questions were asked in the first round telephonic interview

1. How is C++ better than C?
2. When do you use overloaded functions and when do you use overrided functions?

3. I have a list of customer objects which in turn can contain a list of Order objects which in turn can contain a list of Item objects. Need a Reporting module that will be total amount of purchase done by each customer and total amount of purchase done by all the customers. What modifications has to be done in the classes?
Ans: Gave few approaches but he was not satisfied.

4. There are three different types of users – employee, admin and manager. Each user should have different permissions. How will you achieve this?
Ans: Users will be the base class. Employee, admin and manager will be the derived classes. I was not sure of how to do this in the interview. But, thinking now. We can have overriden functions in each class of admin/employee/manager such that if the user does not have permission the function in that particular class can just return error without performing any action. If the user has permission, the actions can be defined in that function.

5. Given a linked list, reverse the nodes from (n-x)th node. Given only x.
Ans: Have two pointers. One pointer will be at the head node, increment the second pointer until it reaches xth node. Now increment both the pointers until the second pointer reaches end of the linked list. Now reverse the linked list from the first pointer location onwards

6. In class car, accelerate() is a method that increases the velocity variable each time the method is called. The requirement is to alert the user when the velocity reaches it’s maximum limit.
Ans: I told that we can change the accelerate() method to return a bool var of True whenever the limit is reached. He asked for other ways. I told the user can keep polling every time if the maximum limit has reached or not. He is not satisfied.


Previous Article
Next Article

Similar Reads

Microsoft Interview Experience | Set 90 (Software Engineer role in Bing Team)
I recently attended Microsoft Interview for Software Engineer role in Bing Team. Round 1: Its initial screening round. It has happened through skype. 1. Given n*n matrix with some elements in each cell. If there is "0" in any cell then we have to make that corresponding row and column to "0" Time complexity: O(n*n) Space complexity: O(1) 2. Given a
2 min read
Microsoft Interview Experience | Set 132 (Software Engineer for Bing Team)
I recently attended Microsoft Interview for Software Engineer role in Bing Team. Round 1: Microsoft Interview Experience | Set 131 Its initial screening round. It has happened through skype. Given n*n matrix with some elements in each cell. If there is "0" in any cell then we have to make that corresponding row and column to "0" Time complexity: O(
2 min read
Microsoft IDC Bangalore Interview | Set 153 (O365 Team)
For experienced profile Round 1: General discussion on career so far. Difference between process and thread Given a long string and a small pattern, find whether any permutation of the pattern in present in the string (Working Code  and a dry run expected, not pseudocode). Find the space and time complexity. Toughest technical challenge faced in ca
2 min read
Microsoft Interview Experience For Data Platform Team (4+ Year Exp.)
Round 1:  Question-1 : Reverse Linklist (Using both method recursive as well iterative in O(n) time.) Question-2 : Resolve an compile dependency. Round 2: Question-1 : Given a list of rectangle coordinates, Find how many rectangles are overlapping. Question-2 : Given a linklist with different size which represent long integer number. Generate 3rd l
2 min read
Microsoft Interview Experience for Hyderabad Office Team(2 years Experienced)
Round 1:  Find all the missing numbers from an array of size N whose elements belong to the range [0, N]. https://www.geeksforgeeks.org/find-the-smallest-positive-number-missing-from-an-unsorted-array-set-2/ 2. Check whether the given linked list forms a palindrome. https://www.geeksforgeeks.org/function-to-check-if-a-singly-linked-list-is-palindro
2 min read
Microsoft Student Chapter Interview Experience for Team Lead
I lately had the possibility to interview for the technical branch lead function in the Microsoft student bankruptcy club at VIT, AP. This changed in my 2nd interview with the club, as I had formerly been decided on as a tech group member. I used to be excited about the prospect of taking over a management function in a business enterprise. Round 1
3 min read
Microsoft Interview Experience for Azure Team Hyderabad
Interview was for Azure team IDC Hyderabad. Total 9 candidates came. Round 1: 2->7->8->11 | 13->16->17->21 | 22->23->27->29 | 30->32 Sorted Linked List given like above where each node has 2 pointers left and down. For each row starting nodes down points to next row start. Each row has 4 elements, except last one which
2 min read
Microsoft Interview experience for full time position of software engineer at Microsoft Ireland Research
Position: Senior software engineer - Office 365 team I initially applied for senior software engineer position in Office 365 Team in Dublin, Ireland in Aug 2018. After a month I received a phone call from the recruiter for a quick chat about my current situation. He asked me the following questions: 1) Why have you applied for this position? 2) Wha
8 min read
Interview with Microsoft O365 team- Bangalore
Round 1: In the first round two interviewers were present and each one asked one programming question: 1)Find the smallest missing positive number in a given array of integers: https://www.geeksforgeeks.org/find-the-smallest-positive-number-missing-from-an-unsorted-array-set-2/ 2)Find the equilibrium point of an array https://www.geeksforgeeks.org/
1 min read
Interview with Microsoft (office 365 Hyderabad team) at their Bengaluru office.
Hi, I am a backend developer with 8 years of hands-on experience. One of the HR person from Microsoft approached me to check if I am interested in an opportunity with them, I was told that there will be total four rounds on the same day, 3 rounds followed by hiring manager round. Round 1: 2 interviewers in the panel, one was asking questions other
3 min read
Practice Tags :