Microsoft Corporation
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
2 medium leetcode questions were asked
I applied via Campus Placement and was interviewed in Aug 2024. There were 2 interview rounds.
1 hour test contains 2 coding questions.
To delete a node from a singly or doubly linked list, update the pointers of the previous and next nodes.
For a singly linked list, update the next pointer of the previous node to skip the node to be deleted.
For a doubly linked list, update the next pointer of the previous node and the previous pointer of the next node to skip the node to be deleted.
Use regex pattern to validate an email address
Use regex pattern /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/
Ensure email has valid format with username, @ symbol, domain, and top-level domain
Test regex pattern against different email addresses for validation
I was interviewed in Jun 2024.
Use binary search to find the minimum distance to escape aggressive cows in a field.
Implement a function to check if cows can be placed with a minimum distance in a field.
Use binary search to find the minimum distance that satisfies the condition.
Keep track of the maximum distance found so far while performing binary search.
Find two numbers in an array that add up to a target sum.
Use a hash map to store the difference between the target sum and each element.
Iterate through the array and check if the current element's complement exists in the hash map.
Return the indices of the two numbers that add up to the target sum.
Design a REST API for a software engineer interview
Define the resources and endpoints
Use HTTP methods for CRUD operations (GET, POST, PUT, DELETE)
Implement authentication and authorization
Use JSON for data exchange format
Include error handling and status codes
What people are saying about Microsoft Corporation
I applied via Campus Placement
Basic dsa, online leetcode very easy trees
I belong in Microsoft because of my passion for technology, strong problem-solving skills, and ability to work well in a team.
Passion for technology: I have always been fascinated by the latest advancements in technology and enjoy staying up-to-date with industry trends.
Strong problem-solving skills: I excel at analyzing complex problems and finding innovative solutions, which aligns well with Microsoft's focus on inno...
Microsoft Corporation interview questions for popular designations
I applied via Referral and was interviewed in Nov 2024. There were 2 interview rounds.
SIMPLE and easy which was mcqs based. easy
Two 2 leet code question based on array and strings
Get interview-ready with Top Microsoft Corporation Interview Questions
2 DSA questions asked on codility platform. One was about backtracking, and another about 1D DP.
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, ...
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.
DSA, Graph, DP, Arrays
Psychometric Test was the first round, will be asking 100 questions and your marks will be assessed on how you answer each question, there is nothing wrong or right in that.
2 DSA qns on codility
Graphs are data structures that consist of nodes and edges connecting them.
Graphs can be directed or undirected.
Common graph traversal algorithms include BFS and DFS.
Examples of graphs include social networks, road networks, and computer networks.
Some of the top questions asked at the Microsoft Corporation interview for freshers -
The duration of Microsoft Corporation interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 50 interviews
Interview experience
based on 1.7k reviews
Rating in categories
Software Engineer
2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
1.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer2
1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
698
salaries
| ₹0 L/yr - ₹0 L/yr |
Consultant
602
salaries
| ₹0 L/yr - ₹0 L/yr |
Amazon
Deloitte
TCS