Upload Button Icon Add office photos

Microsoft Corporation

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Microsoft Corporation Software Engineer Intern Trainee Interview Questions, Process, and Tips

Updated 19 Jul 2024

Top Microsoft Corporation Software Engineer Intern Trainee Interview Questions and Answers

  • Q1. Given a binary tree, return false if there exists any node such that it has two children and left node has value greater than right, else return true.
  • Q2. Remove duplicate characters from a string efficiently.
  • Q3. convert roman to numerals

Microsoft Corporation Software Engineer Intern Trainee Interview Experiences

2 interviews found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

2 DSA questions asked on codility platform. One was about backtracking, and another about 1D DP.

Round 2 - Technical 

(2 Questions)

  • Q1. Given a binary tree, return false if there exists any node such that it has two children and left node has value greater than right, else return true.
  • Ans. 

    Check if any node in binary tree violates left node value less than right node value rule.

    • Traverse the binary tree using depth-first search (DFS) or breadth-first search (BFS) and check each node for the given condition.

    • If a node has two children and the left child's value is greater than the right child's value, return false.

    • If no such node is found, return true.

    • Example: For a binary tree with nodes 5, 3, 7, 2, 4, 6, ...

  • Answered by AI
  • Q2. Remove duplicate characters from a string efficiently.
  • Ans. 

    Use a hash set to efficiently remove duplicate characters from a string.

    • Create a hash set to store unique characters.

    • Iterate through the string and add each character to the hash set.

    • If a character is already in the hash set, skip it.

    • Convert the hash set back to a string to get the result.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Do leetcode medium for interviews, medium + hard for OA round.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Aug 2023. There were 3 interview rounds.

Round 1 - Coding Test 

Asked from sorting and DP.two qeustions were there

Round 2 - Technical 

(2 Questions)

  • Q1. Convert roman to numerals
  • Ans. 

    Convert Roman numerals to numbers

    • Create a mapping of Roman numerals to their corresponding values

    • Iterate through the Roman numeral string from right to left

    • If the current numeral is smaller than the next numeral, subtract its value from the total

    • Otherwise, add its value to the total

  • Answered by AI
  • Q2. Rotate the array
  • Ans. 

    Rotate the array in place by k steps

    • Use the modulus operator to handle cases where k is greater than the array length

    • Reverse the entire array, then reverse the first k elements and the remaining elements separately

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Personality based and team work based questions ,overall easy

Interview Preparation Tips

Interview preparation tips for other job seekers - just clear your basics and work on soft skills

Skills evaluated in this interview

Software Engineer Intern Trainee Interview Questions Asked at Other Companies

asked in UST
Q1. find average salary of employees from given table for each design ... read more
Q2. If you prepare OOPS,Data Structures it would be better to crack b ... read more
asked in Nokia
Q3. What language you prefer? OOPS in your preferred langauage.
Q4. How often do you find yourself refactoring your code?
Q5. Given a binary tree, return false if there exists any node such t ... read more

Interview questions from similar companies

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response
Round 1 - Coding Test 

Data Structures and Algorithm Questions

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

I applied via LinkedIn and was interviewed in Mar 2024. There were 3 interview rounds.

Round 1 - Coding Test 

2 Questions on Hackerrank, approx. 60 minutes. Not too hard but requires Java knowledge

Round 2 - Video Call 

(2 Questions)

  • Q1. Tell me about yourself, education, etc.
  • Q2. Prior projects and struggles faced.
Round 3 - Technical 

(1 Question)

  • Q1. Interview with HR and Tech team
Interview experience
3
Average
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Apr 2024. There were 2 interview rounds.

Round 1 - Phone Interview 

(1 Question)

  • Q1. Basic projects information
Round 2 - Technical 

(1 Question)

  • Q1. Maximum subarray variation
  • Ans. 

    Find the maximum variation in a subarray of integers.

    • Iterate through the array and keep track of the maximum and minimum values seen so far.

    • Calculate the variation by subtracting the minimum value from the maximum value.

    • Return the maximum variation found in any subarray.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - DSA is the key

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Feb 2024.

Round 1 - Coding Test 

2 Questions of Leetcode medium difficulty

Round 2 - Technical 

(2 Questions)

  • Q1. DSA LIS Problem
  • Q2. DSA LCS Problem

Interview Preparation Tips

Interview preparation tips for other job seekers - prepare dsa well.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
Selected Selected
Round 1 - Coding Test 

3 SIMPLE DSA questions

Round 2 - Technical 

(1 Question)

  • Q1. Simple DSA problem of DFS and BFS
  • Ans. 

    DFS and BFS are fundamental graph traversal algorithms used to explore nodes in a graph.

    • DFS (Depth First Search) explores as far as possible along each branch before backtracking. It uses a stack to keep track of nodes.

    • BFS (Breadth First Search) explores all the neighbor nodes at the present depth prior to moving on to the nodes at the next depth. It uses a queue to keep track of nodes.

    • Example: For a graph with nodes A...

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Behaviour questions

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

It was easy as compared to traditional questions

Round 2 - HR 

(1 Question)

  • Q1. Asked salary for my experience
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Oct 2023. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Find median in data stream
  • Ans. 

    Use two heaps to maintain the median in a data stream

    • Use a max heap to store the smaller half of the numbers and a min heap to store the larger half

    • Keep the size of the two heaps balanced or differ by at most 1 to find the median efficiently

    • If the total number of elements is odd, the median is the top element of the max heap. If even, average the tops of both heaps

  • Answered by AI

Skills evaluated in this interview

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

I applied via LinkedIn and was interviewed before Mar 2023. There were 2 interview rounds.

Round 1 - HR 

(4 Questions)

  • Q1. How did you hear about this position?
  • Q2. Tell me about a time you have an issue with your teammate and how did you resolve it
  • Q3. Walk me through your projects
  • Q4. How do we measure code quality?
  • Ans. 

    Code quality can be measured through various metrics and tools to ensure readability, maintainability, efficiency, and reliability.

    • Use code review processes to assess adherence to coding standards and best practices

    • Utilize static code analysis tools to identify potential bugs, code smells, and security vulnerabilities

    • Measure code complexity using metrics like cyclomatic complexity and maintainability index

    • Track code co...

  • Answered by AI
Round 2 - Coding Test 

2.5 hours of hackerrank test

Interview Preparation Tips

Interview preparation tips for other job seekers - Revise data structures and algorithms and also behavioral questions

Microsoft Corporation Interview FAQs

How many rounds are there in Microsoft Corporation Software Engineer Intern Trainee interview?
Microsoft Corporation interview process usually has 2-3 rounds. The most common rounds in the Microsoft Corporation interview process are Coding Test, Technical and HR.
What are the top questions asked in Microsoft Corporation Software Engineer Intern Trainee interview?

Some of the top questions asked at the Microsoft Corporation Software Engineer Intern Trainee interview -

  1. Given a binary tree, return false if there exists any node such that it has two...read more
  2. Remove duplicate characters from a string efficient...read more
  3. convert roman to numer...read more

Tell us how to improve this page.

Microsoft Corporation Software Engineer Intern Trainee Interview Process

based on 2 interviews

Interview experience

4.5
  
Good
View more

Microsoft Corporation Software Engineer Intern Trainee Reviews and Ratings

based on 5 reviews

4.4/5

Rating in categories

4.8

Skill development

4.9

Work-life balance

4.3

Salary

3.5

Job security

4.9

Company culture

4.3

Promotions

4.5

Work satisfaction

Explore 5 Reviews and Ratings
Software Engineer
1.9k salaries
unlock blur

₹13 L/yr - ₹50 L/yr

Senior Software Engineer
1.1k salaries
unlock blur

₹25 L/yr - ₹85 L/yr

Software Engineer2
1k salaries
unlock blur

₹20 L/yr - ₹70 L/yr

Consultant
599 salaries
unlock blur

₹13 L/yr - ₹36.7 L/yr

Support Engineer
578 salaries
unlock blur

₹7.7 L/yr - ₹30 L/yr

Explore more salaries
Compare Microsoft Corporation with

Google

4.4
Compare

Amazon

4.1
Compare

Deloitte

3.8
Compare

TCS

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview