Upload Button Icon Add office photos

Microsoft Corporation

Compare button icon Compare button icon Compare

Filter interviews by

Microsoft Corporation Sdet Interview Questions and Answers

Updated 10 Jun 2015

6 Interview questions

A Sdet was asked
Q. How would you design the database for Facebook?
Ans. 

Facebook's database design focuses on scalability, user relationships, and efficient data retrieval.

  • User Profiles: Each user has a unique profile containing personal information, posts, and friend connections.

  • Social Graph: A graph database structure to represent relationships between users, allowing for efficient querying of friends and connections.

  • Posts and Interactions: Tables for storing posts, likes, comments,...

A Sdet was asked
Q. Design data structures to delete pages from a web server that are no longer in existence, have no links on the website, have expired, are no longer in use, and have no reference on any of the pages on the c...
Ans. 

Design a data structure to efficiently manage and delete expired web pages without references.

  • Use a hash table to store active pages with their URLs as keys for quick access.

  • Implement a linked list to maintain the order of pages for easy deletion of expired pages.

  • Utilize a timestamp to track the last access time of each page, allowing for easy identification of expired pages.

  • Consider a garbage collection mechanism...

Sdet Interview Questions Asked at Other Companies

Q1. Given an M x N 2D array containing random alphabets and a functio ... read more
asked in InMobi
Q2. Given a line where words are separated by spaces, reverse each wo ... read more
asked in Amazon
Q3. What happens between entering a URL into a browser address bar an ... read more
Q4. Given a circular linked list containing sorted integers, where th ... read more
asked in Flipkart
Q5. Given a sorted array of size 7 containing only 4 elements and ano ... read more
A Sdet was asked
Q. Design an algorithm for a new type of contact search application for mobile phones.
Ans. 

Design an algorithm for a mobile contact search application that enhances user experience and efficiency.

  • Utilize a trie data structure for efficient prefix searching of contact names.

  • Implement fuzzy search to handle typos or partial matches, e.g., searching 'Jon' returns 'John'.

  • Incorporate filters for sorting results by frequency of contact usage or recent interactions.

  • Allow voice search functionality for hands-fr...

A Sdet was asked
Q. Given a circular linked list containing sorted integers, where the head points to a random node, write code to insert a new node at its correct sorted position. For example, given the list 34, 44, 67, 99, 3...
Ans. 

Insert a node at its correct position in a circular linked list containing sorted elements.

  • Traverse the linked list until the correct position is found

  • Handle the case where the value to be inserted is smaller than the smallest element or larger than the largest element

  • Update the pointers of the neighboring nodes to insert the new node

  • Consider the case where the linked list has only one node

What people are saying about Microsoft Corporation

View All
a software developer
1w
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 Sdet was asked
Q. Given an M x N 2D array containing random alphabets and a function Dict(string word) which returns whether the 'word' is a valid English word, find all possible valid words you can get from the 2D array, wh...
Ans. 

Given a 2D array of alphabets and a function to check valid English words, find all possible valid words adjacent to each other.

  • Create a recursive function to traverse the 2D array and check for valid words

  • Use memoization to avoid redundant checks

  • Consider edge cases such as words with repeating letters

  • Optimize the algorithm for time and space complexity

A Sdet was asked
Q. Describe how the McDonald's system works, starting from placing the order, transferring the order to the kitchen, billing, and the final delivery to the customer, in terms of data structures used, informati...
Ans. 

McDonald's order system involves structured data flow from order placement to delivery, ensuring efficiency and accuracy.

  • 1. Customer places an order using a digital kiosk or cashier, which captures order details in a structured format (e.g., JSON).

  • 2. The order is sent to the kitchen display system (KDS), where it is displayed for kitchen staff to prepare.

  • 3. The KDS organizes orders based on priority and preparatio...

Microsoft Corporation Sdet Interview Experiences

2 interviews found

Sdet Interview Questions & Answers

user image Anonymous

posted on 5 Jun 2015

Interview Questionnaire 

9 Questions

  • Q1. First one was to find position of a box in a particular grid(4*4) boxes were numbered 0 to 15.Questions was also to write test cases and check every possibilty
  • Q2. Second question was card shuffling problem
  • Q3. One question was think how the database design of Facebook could be
  • Ans. 

    Facebook's database design focuses on scalability, user relationships, and efficient data retrieval.

    • User Profiles: Each user has a unique profile containing personal information, posts, and friend connections.

    • Social Graph: A graph database structure to represent relationships between users, allowing for efficient querying of friends and connections.

    • Posts and Interactions: Tables for storing posts, likes, comments, and ...

  • Answered by AI
  • Q4. And there were few more coding questions on data structures
  • Q5. It was basically 1 question round but that had two parts . one designing the algorithm optimally . And writting and covering all possible scenarios and write test cases for them.It was based on deleting el...
  • Q6. This round covered Data structure based prograaming as well OS concepts on multithreading as well
  • Q7. One question was to design data structures to delete pages from a web server which are no longer in existense and have no link on website .That is pages which have expired and no longer in use and has no r...
  • Ans. 

    Design a data structure to efficiently manage and delete expired web pages without references.

    • Use a hash table to store active pages with their URLs as keys for quick access.

    • Implement a linked list to maintain the order of pages for easy deletion of expired pages.

    • Utilize a timestamp to track the last access time of each page, allowing for easy identification of expired pages.

    • Consider a garbage collection mechanism that...

  • Answered by AI
  • Q8. One question to desgin lift system and waht whould be the design
  • Q9. This was the last round .Questions based on college projects and training project was asked.A question was asked to design an algorithm for a new type of contact search application of mobile phones
  • Ans. 

    Design an algorithm for a mobile contact search application that enhances user experience and efficiency.

    • Utilize a trie data structure for efficient prefix searching of contact names.

    • Implement fuzzy search to handle typos or partial matches, e.g., searching 'Jon' returns 'John'.

    • Incorporate filters for sorting results by frequency of contact usage or recent interactions.

    • Allow voice search functionality for hands-free ac...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: 10 Objective type questions mainly from data structures.Questions on structures,union , trees,graphs etc First question was purely coding in most optimized way and taking care of all conditions possible. Second Question was to write test cases for print server job execution getting print jobs from different hostels of a college. Third question was to design a Data structure for a billing system keeping in mind certain conditions and write a program to generate and store the bills.
Total Questions: 10

College Name: NA

Sdet Interview Questions & Answers

user image Anonymous

posted on 5 Jun 2015

Interview Questionnaire 

4 Questions

  • Q1. Given a M x N 2D array containing random alphabets and a function Dict(string word) which returns whether the 'word' is a valid English word. Find all possible valid words you can get from the 2D array, wh...
  • Ans. 

    Given a 2D array of alphabets and a function to check valid English words, find all possible valid words adjacent to each other.

    • Create a recursive function to traverse the 2D array and check for valid words

    • Use memoization to avoid redundant checks

    • Consider edge cases such as words with repeating letters

    • Optimize the algorithm for time and space complexity

  • Answered by AI
  • Q2. Given a circular linked list containing sorted elements (int value). The head of the linked list points to a random node (not necessarily to the smallest or largest element). Problem is top write a code wh...
  • Ans. 

    Insert a node at its correct position in a circular linked list containing sorted elements.

    • Traverse the linked list until the correct position is found

    • Handle the case where the value to be inserted is smaller than the smallest element or larger than the largest element

    • Update the pointers of the neighboring nodes to insert the new node

    • Consider the case where the linked list has only one node

  • Answered by AI
  • Q3. Suppose you are asked to design the Contacts feature for a mobile, what are the features you will enable for the same? Also, how will you test each of those feature?
  • Q4. Describe how does the McDonald's system work, starting from placing the order, transferring of the order to kitchen, billing and the final delivery to customer, in terms of data structures used, informatio...
  • Ans. 

    McDonald's order system involves structured data flow from order placement to delivery, ensuring efficiency and accuracy.

    • 1. Customer places an order using a digital kiosk or cashier, which captures order details in a structured format (e.g., JSON).

    • 2. The order is sent to the kitchen display system (KDS), where it is displayed for kitchen staff to prepare.

    • 3. The KDS organizes orders based on priority and preparation tim...

  • Answered by AI

Interview Preparation Tips

College Name: NA

Skills evaluated in this interview

Interview questions from similar companies

Sdet Interview Questions & Answers

Google user image Anonymous

posted on 8 Jun 2015

Interview Questionnaire 

12 Questions

  • Q1. Efficiently implement 3 stacks in a single array
  • Ans. 

    Implement 3 stacks in a single array efficiently

    • Divide the array into 3 equal parts

    • Use pointers to keep track of top of each stack

    • Implement push and pop operations for each stack

    • Handle stack overflow and underflow cases

  • Answered by AI
  • Q2. Given an array of integers which is circularly sorted, how do you find a given integer
  • Q3. Write a program to find depth of binary search tree without using recursion
  • Q4. Find the maximum rectangle (in terms of area) under a histogram in linear time
  • Q5. Most phones now have full keyboards. Before there there three letters mapped to a number button. Describe how you would go about implementing spelling and word suggestions as people type
  • Ans. 

    Implement spelling and word suggestions for full keyboard phones

    • Create a dictionary of commonly used words

    • Use algorithms like Trie or Levenshtein distance to suggest words

    • Implement auto-correct feature

  • Answered by AI
  • Q6. Describe recursive mergesort and its runtime. Write an iterative version in C++/Java/Python
  • Ans. 

    Recursive mergesort divides array into halves, sorts them and merges them back. O(nlogn) runtime.

    • Divide array into halves recursively

    • Sort each half recursively using mergesort

    • Merge the sorted halves back together

    • Runtime is O(nlogn)

    • Iterative version can be written using a stack or queue

  • Answered by AI
  • Q7. How would you determine if someone has won a game of tic-tac-toe on a board of any size?
  • Q8. Given an array of numbers, replace each number with the product of all the numbers in the array except the number itself *without* using division
  • Q9. Create a cache with fast look up that only stores the N most recently accessed items
  • Q10. How to design a search engine? If each document contains a set of keywords, and is associated with a numeric attribute, how to build indices?
  • Q11. Given two files that has list of words (one per line), write a program to show the intersection
  • Q12. What kind of data structure would you use to index annagrams of words? e.g. if there exists the word ?top? in the database, the query for ?pot? should list that
  • Ans. 

    Use a hash map to index anagrams by sorting characters as keys.

    • Create a hash map where the key is the sorted string of characters.

    • For example, 'top' and 'pot' both map to 'opt'.

    • Store all anagrams in a list associated with the sorted key.

    • When querying, sort the input word and retrieve the list from the map.

  • Answered by AI

Interview Preparation Tips

College Name: NA

Skills evaluated in this interview

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

I applied via Instahyre and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Coding Test 

It was on hackerrank(OA). There were two string and array based medium question.(Part of Blind 75 list)

What people are saying about Microsoft Corporation

View All
a software developer
1w
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.

Sdet Interview Questions & Answers

Adobe user image Anonymous

posted on 20 Mar 2023

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Coding practice is a must . DSA concept is a must .

Round 3 - Aptitude Test 

Coding Test 2 which involved a basic array ques . Checked logic ability

Interview Preparation Tips

Interview preparation tips for other job seekers - DSA practice ,confidence , try to think hard . Practice coding .

Sdet Interview Questions & Answers

Oracle user image Anonymous

posted on 14 Jun 2024

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

(1 Question)

  • Q1. Write selenium code for getting values in a dynamic table
  • Ans. 

    Use Selenium to extract values from a dynamic table

    • Identify the table using its locator (id, class, xpath, etc.)

    • Iterate through the rows and columns of the table to extract values

    • Use Selenium commands like findElements and getText to retrieve the values

    • Handle dynamic content by waiting for elements to be present or visible

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Java union of arrays
  • Ans. 

    To find the union of two arrays in Java, use a HashSet to store unique elements from both arrays.

    • Create two arrays of strings.

    • Convert arrays to HashSet to remove duplicates.

    • Combine both HashSets to get the union of arrays.

  • Answered by AI
Round 3 - One-on-one 

(1 Question)

  • Q1. Regular Expressions related

Interview Preparation Tips

Interview preparation tips for other job seekers - Be good with Basics and lots of practice is the key

Skills evaluated in this interview

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

I applied via Walk-in and was interviewed in Apr 2024. There was 1 interview round.

Round 1 - Coding Test 

Solve sanke and ladder puzzle

Interview Preparation Tips

Interview preparation tips for other job seekers - learn DSA
Are these interview questions helpful?

Sdet Interview Questions & Answers

Oracle user image Anonymous

posted on 26 Oct 2023

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

I applied via Naukri.com

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Coding Test 

Asked to write a program for Number palindrome

Round 3 - Technical 

(1 Question)

  • Q1. Java Oops and selenium basics

Interview Preparation Tips

Interview preparation tips for other job seekers - Be clear with the basics

I applied via Company Website and was interviewed before Oct 2019. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. 1. Core Java - OOPS features, Abstract classes and Interface, Inner Classes, String and Object Class, Equals and HashCode methods, Runtime and Compile time exception, Method overloading and overriding, Cus...

Interview Preparation Tips

Interview preparation tips for other job seekers - 1. Clear Core java concepts firmly
2. Basic DB queries
3. Basic Unix commands

I applied via Campus Placement and was interviewed before Nov 2021. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

Numerical and logical aptitude test

Round 3 - Coding Test 

There are 5 rounds on datastructure and algorithm

Interview Preparation Tips

Interview preparation tips for other job seekers - Nice hr and all team is suportive
Good and smoth interview experiance

Microsoft Corporation Interview FAQs

How to prepare for Microsoft Corporation Sdet interview?
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 Load Testing, Network Elements, Product Management, Python and Spirent.
What are the top questions asked in Microsoft Corporation Sdet interview?

Some of the top questions asked at the Microsoft Corporation Sdet interview -

  1. Given a M x N 2D array containing random alphabets and a function Dict(string w...read more
  2. Given a circular linked list containing sorted elements (int value). The head o...read more
  3. Describe how does the McDonald's system work, starting from placing the order, ...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

Google Interview Questions
4.4
 • 899 Interviews
Oracle Interview Questions
3.7
 • 895 Interviews
Zoho Interview Questions
4.2
 • 540 Interviews
Amdocs Interview Questions
3.7
 • 533 Interviews
SAP Interview Questions
4.2
 • 291 Interviews
Adobe Interview Questions
3.9
 • 248 Interviews
Salesforce Interview Questions
4.0
 • 234 Interviews
24/7 Customer Interview Questions
3.5
 • 179 Interviews
View all
Microsoft Corporation Sdet Salary
based on 15 salaries
₹14.2 L/yr - ₹26.6 L/yr
35% more than the average Sdet Salary in India
View more details

Microsoft Corporation Sdet Reviews and Ratings

based on 1 review

3.0/5

Rating in categories

5.0

Skill development

4.0

Work-life balance

2.0

Salary

5.0

Job security

4.0

Company culture

5.0

Promotions

3.0

Work satisfaction

Explore 1 Review and Rating
Software Engineer
2.5k salaries
unlock blur

₹24.9 L/yr - ₹44 L/yr

Senior Software Engineer
1.5k salaries
unlock blur

₹28.7 L/yr - ₹75.4 L/yr

Software Engineer2
1.2k salaries
unlock blur

₹33.1 L/yr - ₹60 L/yr

Software Developer
1.1k salaries
unlock blur

₹22.6 L/yr - ₹40 L/yr

Consultant
612 salaries
unlock blur

₹19.9 L/yr - ₹35 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