Upload Button Icon Add office photos

Microsoft Corporation

Compare button icon Compare button icon Compare

Filter interviews by

Microsoft Corporation Software Developer II Interview Questions and Answers

Updated 21 Jul 2025

Microsoft Corporation Software Developer II Interview Experiences

4 interviews found

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Jun 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Online coding test of 45 mins

Round 2 - One-on-one 

(2 Questions)

  • Q1. BFS/DFS graph problem
  • Ans. 

    BFS and DFS are algorithms for traversing or searching tree or graph data structures.

    • BFS (Breadth-First Search) explores neighbors level by level, using a queue.

    • DFS (Depth-First Search) explores as far as possible along each branch before backtracking, using a stack.

    • Example of BFS: Finding the shortest path in an unweighted graph.

    • Example of DFS: Checking for cycles in a graph.

  • Answered by AI
  • Q2. Inverted array problem
  • Ans. 

    Inverted array problem involves reversing the order of elements in an array of strings.

    • Iterate through the array from both ends and swap the elements until reaching the middle.

    • Use a temporary variable to store the element being swapped.

    • Example: Input array ['apple', 'banana', 'cherry'] should be inverted to ['cherry', 'banana', 'apple'].

  • Answered by AI
Round 3 - Technical 

(2 Questions)

  • Q1. LLD design of order collection service
  • Ans. 

    LLD design of order collection service involves designing the detailed architecture of the service for collecting orders.

    • Define the components of the order collection service such as order processing, validation, storage, and retrieval.

    • Design the data flow between these components and how they interact with each other.

    • Consider scalability, fault tolerance, and performance optimization in the design.

    • Use appropriate desi...

  • Answered by AI
  • Q2. How two arrays represented as trees are identical trees
  • Ans. 

    Two arrays represented as trees are identical if they have the same structure and values at each node.

    • Check if the arrays have the same length.

    • Compare the root nodes of both trees.

    • Recursively compare the left and right subtrees of both trees.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - DSA medium-level questions are necessary along with HLD and LLD problems.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Aug 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Easy to medium level dsa questions

Round 2 - One-on-one 

(1 Question)

  • Q1. Connecting bridges from geeks for geeks. It is similar to longest increasing subsequence problem

Interview Preparation Tips

Interview preparation tips for other job seekers - Microsoft interviews level are generally good. So prepare hard.

Software Developer II Interview Questions Asked at Other Companies

asked in Flipkart
Q1. Design an online auction system where users can sell objects thro ... read more
Q2. 1. What is a generic timer implementation for multiple locations, ... read more
Q3. Given an array, how can you validate the existence of a continuou ... read more
asked in IQVIA
Q4. What types of exceptions exist in Mule 4 and Mule 3, and what are ... read more
asked in IQVIA
Q5. What is scaling in Mule? If you know, then why and when do we do ... read more
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview before Jul 2024, where I was asked the following questions.

  • Q1. Given an array, how can you validate the existence of a continuous subarray sum that matches a given number? Additionally, how would you return the starting and ending indices of that subarray? If there ar...
  • Ans. 

    Validate continuous subarray sum and return indices of matching subarrays.

    • Use a hashmap to store cumulative sums and their indices.

    • Iterate through the array, calculating the cumulative sum.

    • Check if the cumulative sum minus the target exists in the hashmap.

    • If found, record the starting and ending indices of the subarray.

    • Example: For array [1, 2, 3, 4] and target 5, subarray [2, 3] matches.

  • Answered by AI
  • Q2. What is the low-level design (LLD) for creating APIs for a Sudoku game?
  • Q3. 1. What is a generic timer implementation for multiple locations, including the class structure and the functions contained within each class? 2. can you provide the details of implementing a Tic Tac Toe g...
  • Ans. 

    Implementing a generic timer and a Tic Tac Toe game using object-oriented principles.

    • 1. Timer Class: Create a Timer class with methods to start, stop, and reset the timer.

    • 2. Timer Locations: Use a dictionary to manage multiple timers for different locations.

    • 3. Tic Tac Toe Class: Create a TicTacToe class with methods for player moves, checking win conditions, and displaying the board.

    • 4. Game Loop: Implement a loop to al...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Jul 2023. There was 1 interview round.

Round 1 - Coding Test 

Dsa based questions. On trees and arrays.

Interview Preparation Tips

Interview preparation tips for other job seekers - Go for it

What people are saying about Microsoft Corporation

View All
a marketing manager
2w
The reason why Microsoft is laying off 15000 employees 😭😭
Khali khaa rhi h or chill breaks lerhi h🤔🤔🤔
Got a question about Microsoft Corporation?
Ask anonymously on communities.

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Assignment 

They asked me to create a live working project and sufficient time was provided.

Round 2 - One-on-one 

(1 Question)

  • Q1. Detailed discussion around the project created in round 1. Each and every details were asked and discussion on approach.
Round 3 - One-on-one 

(1 Question)

  • Q1. This was final managerial round.

I applied via Company Website and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Coding Test 

Data Structure related questions

Round 2 - One-on-one 

(1 Question)

  • Q1. Java related interview questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Study Data structure and Java code properly

Microsoft Corporation HR Interview Questions

125 questions and answers

Q. What does culture fit mean to you at Microsoft?
Q. Which literary character do you most closely relate to, and what are the re ... read more
Q. What were your reasons for leaving your previous company?

Intern Interview Questions & Answers

Google user image Anonymous

posted on 28 Apr 2022

I applied via LinkedIn and was interviewed before Apr 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

It was quite good

Round 2 - Assignment 

Assignment was real world based

Interview Preparation Tips

Interview preparation tips for other job seekers - do your best and try to excel basic skills.
Are these interview questions helpful?

I applied via Recruitment Consultant and was interviewed before Feb 2020. There were 3 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Java Multithreading
  • Q2. Serialization
  • Q3. Java String manipulation
  • Q4. Simple code based on bubblesort and its optimization

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident and Try to be fluent

I appeared for an interview before May 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

  • Q1. 

    Find All Anagrams Problem Statement

    Given a string STR and a non-empty string PTR, identify all the starting indices of anagrams of PTR within STR.

    Explanation:

    An anagram of a string is another string ...

  • Ans. 

    Given a string STR and a non-empty string PTR, find all starting indices of anagrams of PTR within STR.

    • Create a frequency map of characters in PTR.

    • Use sliding window technique to check anagrams in STR.

    • Return the starting indices of anagrams found.

  • Answered by AI
  • Q2. 

    Subset Sum Problem Statement

    Given an array of integers, find the sum of all subsets in non-decreasing order of the given array.

    Example:

    Input:
    N = 3, array = [1, 2]
    Output:
    [0, 1, 2, 3]
    Explanatio...
  • Ans. 

    Find sum of all subsets in non-decreasing order of given array.

    • Use recursion to generate all subsets of the array

    • Calculate sum of each subset and store in a list

    • Sort the list in non-decreasing order to get the final result

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

First he asked me to tell about myself, then he asked me some OOPS Concepts,difference in shallow copy and deep copy,
asked me to write a code for boundary traversal of binary tree.

  • Q1. 

    Boundary Traversal of Binary Tree Problem Statement

    Given a binary tree consisting of integers, your task is to provide the boundary nodes of this tree in an anti-clockwise direction, starting with the ro...

  • Ans. 

    Boundary traversal of a binary tree to find left boundary, right boundary, and leaf nodes in an anti-clockwise direction.

    • Perform a pre-order traversal to get the left boundary nodes

    • Perform an in-order traversal to get the leaf nodes

    • Perform a post-order traversal to get the right boundary nodes

    • Combine the results to get the boundary nodes in anti-clockwise direction

  • Answered by AI
Round 3 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

The second tech interview lasted for about an hour and half. First he asked me to tell about myself. Then he asked me how my first interview was. He then asked me where should I start, data structures, databases, to which I replied anywhere.
He started asking questions about C. He asked difference between call by pointer and call by reference. Whether a function can be defined as
void function(int &x, int &y);
Then he asked what is volatile data type in C. Then about the static data class.
He also asked me to write a program to find length of a string.
Then he asked about how functions in C work. How does the program know where to go back after a function is over, etc.
He then asked me if I knew C++, I said no. So he continued to ask a few questions on data structures.
He then asked about the ACID properties which a good database must have. He asked how are transactions managed by a database, what are commits, how, in case of a power failure, data is reverted back, etc.
Then he asked me whether I like to work individually or in a team. I said in a team. He then gave me scenario where I have to decide between a project I am working on, whose deadline is approaching, and helping a friend working on another project whose deadline is also approaching, and asked me what would I do in such a case.

  • Q1. 

    Find the Middle of a Linked List

    This problem requires you to return a pointer that references the middle node of a singly linked list.

    Explanation:

    If the number of elements in the linked list is odd, ...

  • Ans. 

    Return the middle node of a singly linked list, considering odd and even number of elements.

    • Traverse the linked list with two pointers, one moving twice as fast as the other

    • When the fast pointer reaches the end, the slow pointer will be at the middle

    • Return the node pointed to by the slow pointer as the middle node

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in PuneEligibility criteria7 CGPASAP Labs interview preparation:Topics to prepare for the interview - Data Structures ,sql, machine learning, OOPS, System Design, Algorithms, Dynamic ProgrammingTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Practice at least 5 codes daily.
Tip 2 : Do at-least one machine Learning Project.

Application resume tips for other job seekers

Tip 1 : Have at least three project.
Tip 2 : Put some achievements.

Final outcome of the interviewSelected

Skills evaluated in this interview

Intern Interview Questions & Answers

Google user image Anonymous

posted on 13 Jun 2022

I applied via LinkedIn and was interviewed before Jun 2021. There was 1 interview round.

Round 1 - HR 

(2 Questions)

  • Q1. What is your favourite google product and how would you improve it ?
  • Ans. 

    My favorite Google product is Google Maps, and I would enhance its offline capabilities and user-generated content features.

    • Improve offline map functionality by allowing users to download larger areas for navigation.

    • Integrate augmented reality features for better navigation in complex environments, like malls or airports.

    • Enhance user-generated content by implementing a reward system for accurate reviews and updates.

    • Int...

  • Answered by AI
  • Q2. Tell me about a time you set a goal and achieved it

Interview Preparation Tips

Interview preparation tips for other job seekers - be prepared enthusiastic and confident

Microsoft Corporation Interview FAQs

How many rounds are there in Microsoft Corporation Software Developer II interview?
Microsoft Corporation interview process usually has 2 rounds. The most common rounds in the Microsoft Corporation interview process are Coding Test, One-on-one Round and Technical.
What are the top questions asked in Microsoft Corporation Software Developer II interview?

Some of the top questions asked at the Microsoft Corporation Software Developer II interview -

  1. 1. What is a generic timer implementation for multiple locations, including the...read more
  2. Given an array, how can you validate the existence of a continuous subarray sum...read more
  3. how two arrays represented as trees are identical tr...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4.8/5

based on 4 interview experiences

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more
Microsoft Corporation Software Developer II Salary
based on 96 salaries
₹33.9 L/yr - ₹60 L/yr
139% more than the average Software Developer II Salary in India
View more details

Microsoft Corporation Software Developer II Reviews and Ratings

based on 3 reviews

1.8/5

Rating in categories

2.4

Skill development

3.7

Work-life balance

2.7

Salary

3.4

Job security

2.4

Company culture

1.8

Promotions

2.1

Work satisfaction

Explore 3 Reviews and Ratings
Software Engineer
2.6k salaries
unlock blur

₹24.9 L/yr - ₹44 L/yr

Senior Software Engineer
1.5k salaries
unlock blur

₹36.7 L/yr - ₹75.9 L/yr

Software Engineer2
1.3k salaries
unlock blur

₹33.2 L/yr - ₹60 L/yr

Software Developer
1.2k salaries
unlock blur

₹26 L/yr - ₹46.1 L/yr

Consultant
606 salaries
unlock blur

₹19.9 L/yr - ₹35 L/yr

Explore more salaries
Compare Microsoft Corporation with

Google

4.3
Compare

Amazon

4.0
Compare

Deloitte

3.7
Compare

TCS

3.5
Compare
write
Share an Interview