Upload Button Icon Add office photos

Microsoft Corporation

Compare button icon Compare button icon Compare

Filter interviews by

Microsoft Corporation Interview Questions and Answers for Freshers

Updated 2 Jul 2025
Popular Designations

214 Interview questions

A Software Development Engineer was asked
Q. Write the artificial intelligence logic in code for your Chess representation
Ans. 

AI logic for Chess representation

  • Implement minimax algorithm with alpha-beta pruning

  • Use evaluation function to assign values to board positions

  • Implement move ordering to improve efficiency

  • Use transposition tables to store previously evaluated positions

  • Implement iterative deepening to improve search depth

View all Software Development Engineer interview questions
A Software Developer was asked
Q. What are the basic aspects of OOP?
Ans. 

OOP is a programming paradigm that focuses on objects and their interactions.

  • Encapsulation: bundling data and methods that operate on that data within one unit

  • Inheritance: creating new classes from existing ones, inheriting their properties and methods

  • Polymorphism: ability of objects to take on many forms, allowing for flexibility and extensibility

  • Abstraction: hiding implementation details and only exposing necess...

A Software Developer was asked
Q. Have you implemented a thread library?
Ans. 

Yes, I have implemented a thread library.

  • Implemented a user-level thread library using POSIX threads.

  • Used mutexes and condition variables for synchronization.

  • Implemented thread creation, joining, and cancellation.

  • Implemented thread-local storage using pthread_key_create and pthread_setspecific.

A Software Developer was asked
Q. Explain Polymorphism to a layman.
Ans. 

Polymorphism is the ability of an object to take on many forms.

  • Polymorphism allows objects of different classes to be treated as if they are the same type of object.

  • It simplifies code and makes it more flexible.

  • Examples include method overloading and overriding, and interfaces in Java.

  • Polymorphism is a key concept in object-oriented programming.

What people are saying about Microsoft Corporation

View All
a software developer
2d
Just Microsoft things!
Offer sleeping pods in office Employees turn unproductive Revenue drops Fire Thousands of employees in the name of "AI Revolution"!
FeedCard Image
Got a question about Microsoft Corporation?
Ask anonymously on communities.
A Software Developer was asked
Q. How and when is it implemented?
Ans. 

Implementation varies depending on the context and can occur at any stage of a project or process.

  • Implementation can occur during the planning, execution, or evaluation stages of a project or process.

  • It involves putting plans into action and making sure they are carried out effectively.

  • Implementation can involve the use of technology, personnel, or other resources.

  • Examples of implementation include launching a new...

A Software Developer was asked
Q. Count the number of full nodes in a binary tree. Full nodes are those which have both non-null left and right children.
Ans. 

Count the number of full nodes in a binary tree.

  • A full node has both non-null left and right children.

  • Traverse the tree recursively and count the full nodes.

  • If a node has both left and right children, increment the count and traverse its children.

  • If a node has only one child or no child, skip it and traverse its child if it exists.

A SDE Intern was asked
Q. Given two singly linked lists that intersect to form a Y shape, find the node at the intersection point.
Ans. 

Given a Y-linked list, find the node at the intersection point.

  • Traverse both branches of the Y-linked list and compare nodes.

  • Use a hash table to store visited nodes and check for intersection.

  • If one branch is longer, traverse it until it matches the length of the other branch.

View all SDE Intern interview questions
Are these interview questions helpful?
A SDE Intern was asked
Q. Remove duplicate characters from a given string, keeping only the first occurrences (i.e., order should not change). For example, if the input is ‘bananas,’ the output will be ‘bans.’
Ans. 

Remove duplicate characters from a string while preserving order.

  • Create an empty string to hold the result.

  • Iterate through each character in the input string.

  • If the character is not already in the result string, add it.

  • Return the result string.

View all SDE Intern interview questions
A SDE Intern was asked
Q. Explain the logic and code to traverse a binary tree level by level in spiral form.
Ans. 

Traverse a binary tree in spiral order, alternating between left-to-right and right-to-left at each level.

  • Use two stacks: one for the current level and one for the next level.

  • Start with the root node in the first stack.

  • While there are nodes in the current stack, pop nodes and add their children to the next stack in the opposite order.

  • Switch stacks after each level to alternate the traversal direction.

  • Example: For ...

View all SDE Intern interview questions
A SDE Intern was asked
Q. Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. The LCA is defined between two nodes p and q as the lowest node in T that has both p and q as descendan...
Ans. 

Find the lowest common ancestor (LCA) of two nodes in a binary search tree (BST) efficiently.

  • In a BST, for any node, left children are smaller and right children are larger.

  • To find LCA of nodes p and q, start from the root.

  • If both p and q are smaller than the root, LCA lies in the left subtree.

  • If both p and q are larger than the root, LCA lies in the right subtree.

  • If one is on the left and the other is on the righ...

View all SDE Intern interview questions

Microsoft Corporation Interview Experiences for Freshers

129 interviews found

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

2 medium leetcode questions were asked

Round 2 - One-on-one 

(2 Questions)

  • Q1. Difference between polymorphism and inheritance
  • Ans. 

    Polymorphism allows methods to do different things based on the object, while inheritance enables classes to share properties and methods.

    • Polymorphism allows for method overriding and overloading.

    • Example of polymorphism: A base class 'Animal' has a method 'sound()', and subclasses 'Dog' and 'Cat' implement it differently.

    • Inheritance allows a class to inherit properties and methods from another class.

    • Example of inherita...

  • Answered by AI
  • Q2. Dsa question related to array
Round 3 - One-on-one 

(2 Questions)

  • Q1. Explain about project
  • Q2. What did you do in you internship
  • Ans. 

    During my internship, I developed software features, collaborated with teams, and gained hands-on experience in coding and debugging.

    • Developed a web application using React and Node.js, improving user experience by 30%.

    • Collaborated with a team of 5 to implement Agile methodologies, resulting in a 20% increase in project efficiency.

    • Participated in code reviews, providing constructive feedback that enhanced code quality.

    • ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare DSA well

Intern Interview Questions & Answers

user image Anonymous

posted on 26 Sep 2024

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

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

Round 1 - Coding Test 

1 hour test contains 2 coding questions.

Round 2 - Technical 

(2 Questions)

  • Q1. Delete a node from Singly and doubly linked list
  • Ans. 

    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.

  • Answered by AI
  • Q2. Validate an email using regex pattern
  • Ans. 

    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

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Understand the concepts thoroughly.

Skills evaluated in this interview

Power BI Developer Interview Questions & Answers

user image NETHIKOPULA PAVAN SANDEEP

posted on 16 May 2025

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

I appeared for an interview in Apr 2025, where I was asked the following questions.

  • Q1. Self introduction
  • Q2. What is Power BI
  • Ans. 

    Power BI is a business analytics tool by Microsoft that enables users to visualize data and share insights across their organization.

    • User-friendly interface for creating interactive reports and dashboards.

    • Connects to various data sources like Excel, SQL Server, and cloud services.

    • Offers real-time data access and collaboration features.

    • Supports advanced analytics with DAX (Data Analysis Expressions) for calculations.

    • All...

  • Answered by AI
  • Q3. About Power Bi architecture
  • Q4. Component of power Bi
  • Ans. 

    Power BI consists of various components that facilitate data visualization, reporting, and sharing insights effectively.

    • Power BI Desktop: A Windows application for creating reports and data visualizations.

    • Power BI Service: A cloud-based service for sharing and collaborating on reports.

    • Power BI Mobile: Mobile apps for accessing reports and dashboards on the go.

    • Power Query: A data connection technology for importing and ...

  • Answered by AI
  • Q5. About gateway? Who it works

Intern Interview Questions & Answers

user image Anonymous

posted on 18 May 2025

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

I appeared for an interview in Apr 2025, where I was asked the following questions.

  • Q1. What is your name
  • Q2. Whats you need
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
-
Result
No response

I appeared for an interview in Jun 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Variation of aggressive cows problem (requires binary search)
  • Q2. Variation of 2 sum problem
Round 2 - One-on-one 

(2 Questions)

  • Q1. Was told that this round would be an LLD. But it felt more like HLD or technical HM round Questions: grilled on microservice vs monolith architectures, how to migrate to microservice, when to migrate to mi...
  • Q2. Design a rest API

Summer Intern Interview Questions & Answers

user image Anonymous

posted on 26 Aug 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Coding Test 

Basic dsa, online leetcode very easy trees

Round 2 - Technical 

(2 Questions)

  • Q1. Geaphs links trees
  • Q2. Graphs links trees questions dsa
Round 3 - HR 

(2 Questions)

  • Q1. Why do i belong in microsoft
  • Ans. 

    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...

  • Answered by AI
  • Q2. More questions on my projects in resume

Interview Preparation Tips

Interview preparation tips for other job seekers - be confident and talk well, dsa

Intern Interview Questions & Answers

user image Anonymous

posted on 3 Dec 2024

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

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

Round 1 - Aptitude Test 

SIMPLE and easy which was mcqs based. easy

Round 2 - Coding Test 

Two 2 leet code question based on array and strings

Interview Preparation Tips

Interview preparation tips for other job seekers - nice
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

Software Developer Interview Questions & Answers

user image Tarun Jaiswal

posted on 30 Nov 2024

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

DSA, Graph, DP, Arrays

US Recruiter Interview Questions & Answers

user image Anonymous

posted on 3 May 2024

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

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.

Round 2 - One-on-one 

(3 Questions)

  • Q1. Tech stacks you have worked and hired.
  • Q2. Situation based questions
  • Q3. Platform you have used to hire
  • Ans. 

    I have utilized various platforms for hiring, including job boards, social media, and specialized recruitment tools.

    • LinkedIn: Leveraged for sourcing candidates and networking with professionals.

    • Indeed: Used for posting job listings and accessing a large candidate pool.

    • Glassdoor: Employed to enhance employer branding and attract talent.

    • ZipRecruiter: Utilized for its AI-driven matching capabilities to find suitable candi...

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Salary negotiation and discussion

Microsoft Corporation Interview FAQs

How many rounds are there in Microsoft Corporation interview for freshers?
Microsoft Corporation interview process for freshers usually has 2-3 rounds. The most common rounds in the Microsoft Corporation interview process for freshers are Coding Test, Technical and Resume Shortlist.
How to prepare for Microsoft Corporation interview for freshers?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Microsoft Corporation. The most common topics and skills that interviewers at Microsoft Corporation expect are microsoft, Internship, Machine Learning, Computer science and Research.
What are the top questions asked in Microsoft Corporation interview for freshers?

Some of the top questions asked at the Microsoft Corporation interview for freshers -

  1. A file or a directory can be represented as a node. The node has properties lik...read more
  2. You have a cuboid (m*n*p) each block of the cuboid is having a metallic ball. ...read more
  3. You have to design a Text Editor like notepad . You are concerned about the fol...read more
What are the most common questions asked in Microsoft Corporation HR round for freshers?

The most common HR questions asked in Microsoft Corporation interview are for freshers -

  1. What are your salary expectatio...read more
  2. Why are you looking for a chan...read more
  3. What are your strengths and weakness...read more
How long is the Microsoft Corporation interview process?

The duration of Microsoft Corporation interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4.3/5

based on 53 interview experiences

Difficulty level

Easy 15%
Moderate 79%
Hard 6%

Duration

Less than 2 weeks 59%
2-4 weeks 22%
4-6 weeks 9%
More than 8 weeks 9%
View more

Interview Questions from Similar Companies

Google Interview Questions
4.4
 • 896 Interviews
Oracle Interview Questions
3.7
 • 894 Interviews
Zoho Interview Questions
4.3
 • 537 Interviews
Amdocs Interview Questions
3.7
 • 532 Interviews
SAP Interview Questions
4.2
 • 291 Interviews
Adobe Interview Questions
3.9
 • 247 Interviews
Salesforce Interview Questions
4.0
 • 234 Interviews
24/7 Customer Interview Questions
3.5
 • 179 Interviews
View all

Microsoft Corporation Reviews and Ratings

based on 1.9k reviews

3.9/5

Rating in categories

3.8

Skill development

4.0

Work-life balance

3.8

Salary

3.4

Job security

3.9

Company culture

3.3

Promotions

3.6

Work satisfaction

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

₹24.9 L/yr - ₹44.2 L/yr

Senior Software Engineer
1.4k salaries
unlock blur

₹36.6 L/yr - ₹75.1 L/yr

Software Engineer2
1.2k salaries
unlock blur

₹33 L/yr - ₹60 L/yr

Software Developer
1.1k salaries
unlock blur

₹24.7 L/yr - ₹45.4 L/yr

Support Engineer
607 salaries
unlock blur

₹14.4 L/yr - ₹24.5 L/yr

Explore more salaries
Compare Microsoft Corporation with

Google

4.4
Compare

Amazon

4.0
Compare

Deloitte

3.7
Compare

TCS

3.6
Compare
write
Share an Interview