Microsoft interview experience Real time questions & tips from candidates to crack your interview

Intern

Microsoft
upvote
share-icon
2 rounds | 2 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, Algorithms, OOPS, Operating Systems, DBMS, Computer Networks, SQL
Tip
Tip

Tip 1 : Practice as much as you can for SQL queries.
Tip 2 : Make Fundamentals Strong.
Tip 3 : Having experience in Web development is good.

Application process
Where: Referral
Eligibility: No
Resume Tip
Resume tip

Tip 1 : Have some projects on your resume
Tip 2 : Do not put false things on your resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration40 Minutes
Interview date7 May 2009
Coding problem1

Contains Basic MCQ questions on Aptitude, English, CS Fundamentals, 2 Coding Questions.

1. Segregate Odd-Even

Moderate
25m average time
75% success
0/80
Asked in companies
AdobeLivekeeping (An IndiaMART Company)Thought Works

There is a wedding ceremony at NinjaLand. The bride and groom want everybody to play a game and thus, they have blindfolded the attendees. The people from the bride’s side are holding odd numbers and people from the groom’s side are holding the even numbers. For the game to start quickly, all the bride’s side people should come first, followed by the groom’s side people in the same order.

The attendees of the wedding with their numbers are given in the form of a Singly Linked List, arranged randomly.

A singly linked list is a type of linked list that is unidirectional; that is, it can be traversed in only one direction from head to the last node (tail).

Example:
The attendees holding numbers from 1, 4, 3 are shown: 

As the organizers are busy, you have to arrange all the people by arranging the bride’s side people first followed by the groom’s side people sequentially.

Note:
For the above example 1 -> 4 -> 3, 1 -> 3 -> 4 is the only correct answer, i.e nodes should be grouped sequentially. Hence, 3 -> 1 -> 4 is the wrong answer as we have to preserve the same order.
Problem approach

Step 1: While taking input of input store all even and odd numbers in different in two separate vectors.
Step 2: Print them

Try solving now
02
Round
Medium
HR Round
Duration50 minutes
Interview date29 May 2009
Coding problem1

2 Interviewers
It contains 2 Basic Coding Questions.

1. Reverse the String

Easy
15m average time
85% success
0/40
Asked in companies
SAP LabsWalmartFacebook

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Problem approach

You can use the stack for that or it can be solved by 2 pointers.

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
5 rounds | 15 problems
Interviewed by Microsoft
4035 views
0 comments
0 upvotes
company logo
Intern
2 rounds | 4 problems
Interviewed by Microsoft
0 views
0 comments
0 upvotes
company logo
SDE - 2
5 rounds | 7 problems
Interviewed by Microsoft
1649 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Microsoft
632 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Intern
2 rounds | 2 problems
Interviewed by Adobe
1020 views
0 comments
0 upvotes
company logo
Intern
3 rounds | 4 problems
Interviewed by Oracle
1298 views
0 comments
0 upvotes
company logo
Intern
2 rounds | 3 problems
Interviewed by Amazon
1163 views
1 comments
0 upvotes