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 Interview Questions, Process, and Tips

Updated 8 Mar 2025

Top Microsoft Corporation Interview Questions and Answers

View all 735 questions

Microsoft Corporation Interview Experiences

Popular Designations

557 interviews found

I applied via Campus Placement

Interview Preparation Tips

Round: Test
Experience: exam was easy.
Tips: Be good in C programming
Duration: 75 minutes
Total Questions: 3

General Tips: Should be good in atleast c or c++
Skills: Algorithms And Data Structures
Duration: 2
College Name: IIT Madras
Motivation: The accomodation and facilities
Funny Moments: Interviews are not funny.

Top Microsoft Corporation Software Developer Interview Questions and Answers

Q1. Buses Origin Problem Statement You have been provided with an array where each element specifies the number of buses that can be boarded at each respective bus stop. Buses will only stop at locations that are multiples of the bus stop they ... read more
View answer (3)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

Software Engineer Interview Questions & Answers

user image Hardik Suthar

posted on 2 Dec 2016

I applied via Campus Placement and was interviewed in Dec 2016. There were 6 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Coding Questions and Thinking Process Analysis.
  • Q2. Analysis about app performance
  • Ans. 

    App performance analysis involves identifying and resolving bottlenecks to improve user experience.

    • Collect and analyze performance metrics such as response time, CPU usage, memory usage, and network latency.

    • Identify and prioritize bottlenecks based on impact on user experience and frequency of occurrence.

    • Implement optimizations such as caching, code refactoring, and database tuning.

    • Continuously monitor and test perform...

  • Answered by AI
  • Q3. Discussion about the project mentioned in resume.

Interview Preparation Tips

Round: Test
Experience: Two questions were given and we are supposed to write code for the same.
Tips: Whatever idea is there, just discuss with interviewer.
Duration: 1 hour
Total Questions: 2

Round: Problem Statement
Experience: You have to solve the question for next round.
Tips: Practice coding well.

Round: Technical Interview
Experience: A coding question was given, but much difficult one, they were looking for approach.
Tips: Share your thought Process Clearly.

Round: Case Study Interview
Experience: A full depth project round was there. They asked my role and responsibility.

Round: Technical Interview
Experience: An application was given to you and you have to make it better the way you can.

Skills: Technical Questions, Technical Analysis, Ability To Cope Up With Stress
College Name: IIT Madras

Skills evaluated in this interview

Top Microsoft Corporation Software Engineer Interview Questions and Answers

Q1. You have a cuboid (m*n*p) each block of the cuboid is having a metallic ball. Now we are passing X-ray from front face and getting a bool matrix1 of m*p the elements are set if there is a black spot.(as we are passing X-ray) and another mat... read more
View answer (1)

Software Engineer Interview Questions asked at other Companies

Q1. Bridge and torch problem : Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge. Person... read more
View answer (205)

I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Data structures

Interview Preparation Tips

Round: Test
Experience: 3 coding questions.
Tips: Prepare data structures well
Duration: 2 hours
Total Questions: 3

Round: Group Discussion
Experience: 2 coding questions on prem and paper.
Tips: Consider all test cases, provide comments on code
Duration: 1 hour 30 minutes

Round: Technical Interview
Experience: Mostly checked problem solving skills, some questions regarding your project, operating systems
Tips: Be confident, try and get the hints provided

College Name: IIT Madras

Top Microsoft Corporation Software Engineer Interview Questions and Answers

Q1. You have a cuboid (m*n*p) each block of the cuboid is having a metallic ball. Now we are passing X-ray from front face and getting a bool matrix1 of m*p the elements are set if there is a black spot.(as we are passing X-ray) and another mat... read more
View answer (1)

Software Engineer Interview Questions asked at other Companies

Q1. Bridge and torch problem : Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge. Person... read more
View answer (205)

Software Engineer Interview Questions & Answers

user image Sharmili Murthy

posted on 2 Dec 2016

I applied via Campus Placement and was interviewed in Jan 2016. There were 5 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Finding a loop in a directed graph, find the last element in a binary tree
  • Ans. 

    To find a loop in a directed graph, use Floyd's cycle-finding algorithm. To find the last element in a binary tree, traverse the tree and return the rightmost leaf node.

    • For finding a loop in a directed graph, use Floyd's cycle-finding algorithm which uses two pointers moving at different speeds.

    • To find the last element in a binary tree, traverse the tree recursively or iteratively and return the rightmost leaf node.

  • Answered by AI
  • Q2. On circular queue and finding the last number which is highest and contains same number. Of digits a the given numbber
  • Ans. 

    The question is about finding the last number in a circular queue that has the highest number of digits.

    • Implement a circular queue data structure

    • Iterate through the circular queue to find the last number with the highest number of digits

    • Compare the number of digits of each number in the circular queue

    • Keep track of the last number with the highest number of digits

  • Answered by AI
  • Q3. Tell me your passions and what. Is the one thing I want to know about you

Interview Preparation Tips

Round: Test
Experience: Coding round based on logic was given
Tips: Practice coding
Duration: 2 hours
Total Questions: 3

College Name: IIT Madras

Skills evaluated in this interview

Top Microsoft Corporation Software Engineer Interview Questions and Answers

Q1. You have a cuboid (m*n*p) each block of the cuboid is having a metallic ball. Now we are passing X-ray from front face and getting a bool matrix1 of m*p the elements are set if there is a black spot.(as we are passing X-ray) and another mat... read more
View answer (1)

Software Engineer Interview Questions asked at other Companies

Q1. Bridge and torch problem : Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge. Person... read more
View answer (205)

Microsoft Corporation interview questions for popular designations

 Software Engineer

 (65)

 Software Developer

 (62)

 Senior Software Engineer

 (28)

 Software Developer Intern

 (24)

 Intern

 (20)

 Technical Support Engineer

 (14)

 Software Development Engineer

 (11)

 Data Scientist

 (10)

I applied via Campus Placement and was interviewed in Dec 2016. There were 6 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Circular queues, binary trees, recursion
  • Q2. Asked about project

Interview Preparation Tips

Round: Test
Experience: 3 very simple questions on hackerrank.
Duration: 1 hour 30 minutes
Total Questions: 3

Round: Group Discussion
Duration: 1 hour

Round: Technical Interview
Experience: Asked me to code up a simple question

College Name: IIT Madras

Top Microsoft Corporation Software Developer Interview Questions and Answers

Q1. Buses Origin Problem Statement You have been provided with an array where each element specifies the number of buses that can be boarded at each respective bus stop. Buses will only stop at locations that are multiples of the bus stop they ... read more
View answer (3)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

Get interview-ready with Top Microsoft Corporation Interview Questions

Interview Questions & Answers

user image Vamsi Krishna

posted on 2 Dec 2016

I applied via Campus Placement and was interviewed in Dec 2016. There were 6 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. 2 coding questions, Projects,
  • Q2. Coding questions, Projects, ML, cloud, Parallel Computing
  • Q3. Discussions on projects
  • Q4. Redmond Interview

Interview Preparation Tips

Round: Test
Experience: Easy coding questions.
Duration: 2 hours
Total Questions: 3

Round: Group Discussion
Experience: Two coding questions and discussions.
Duration: 1 hour 30 minutes

Round: Technical Interview
Experience: Most of the focus on coding questions, and projects and discussions on other computer science topics.

Round: Technical Interview
Experience: With in 5 minutes round is finished.

Round: Technical + HR Interview
Experience: 3 Coding questions, Projects, Many HR questions, lot of disscusions on other cs topics.

College Name: IIT Madras

Interview Questionnaire 

14 Questions

  • Q1. Merge two sorted linked list and write testcases
  • Ans. 

    Merging two sorted linked lists and writing test cases.

    • Create a new linked list to store the merged list

    • Compare the first nodes of both lists and add the smaller one to the new list

    • Repeat until one of the lists is empty, then add the remaining nodes to the new list

    • Write test cases to cover all possible scenarios, including empty lists and lists of different lengths

  • Answered by AI
  • Q2. WAP to check if the binary tree is height-balanced and write testcases
  • Ans. 

    WAP to check if binary tree is height-balanced and write testcases

    • A binary tree is height-balanced if the difference between the heights of its left and right subtrees is not more than 1

    • Use recursion to check if each subtree is height-balanced

    • Write testcases to cover all possible scenarios, including empty tree, single node tree, and unbalanced trees

  • Answered by AI
  • Q3. Then he asked me about my internship and to explain my projects
  • Q4. Find the intersection point of two linked list
  • Ans. 

    Find the intersection point of two linked lists.

    • Traverse both lists and find their lengths.

    • Move the head of the longer list to make both lists equal in length.

    • Traverse both lists in parallel until the intersection point is found.

  • Answered by AI
  • Q5. You are given file pointer and integer n, write c code for printing last “n” lines in that file
  • Ans. 

    C code to print last n lines of a file given file pointer and integer n.

    • Use fseek() to move the file pointer to the end of the file

    • Count the number of newline characters encountered from the end of the file until n lines are found

    • Use fgets() to read and print the last n lines

  • Answered by AI
  • Q6. What is deadlock?Conditions for that?What are the methods to prevent it?Write code to prevent the deadlock for OS, considering that there are two processes P0 and P1 in OS and they are requesting resource...
  • Ans. 

    Deadlock is a situation where two or more processes are unable to proceed due to a circular dependency on resources.

    • Deadlock occurs when two or more processes are waiting for resources held by each other.

    • Conditions for deadlock are mutual exclusion, hold and wait, no preemption, and circular wait.

    • Methods to prevent deadlock include resource allocation graph, banker's algorithm, and deadlock avoidance.

    • To prevent deadloc...

  • Answered by AI
  • Q7. How will you avoid race condition on shared memory?
  • Ans. 

    Use synchronization techniques like locks, semaphores, or mutexes to prevent multiple processes from accessing shared memory simultaneously.

    • Implementing a locking mechanism to ensure only one process can access the shared memory at a time.

    • Using semaphores to control access to the shared memory.

    • Using mutexes to ensure mutual exclusion and prevent race conditions.

    • Using atomic operations to ensure that memory operations a...

  • Answered by AI
  • Q8. Suppose there are two processes P0 and P1 and they want write to shared memory and while writing they should have exclusive lock on memory and P0 should be first to write the memory.Write C code using sema...
  • Q9. What is IPC? What are its types? compare them
  • Ans. 

    IPC stands for Inter-Process Communication. It is a mechanism that allows processes to communicate with each other.

    • Types of IPC include shared memory, message passing, and pipes.

    • Shared memory allows processes to share a portion of memory.

    • Message passing involves sending messages between processes.

    • Pipes are a unidirectional form of communication.

    • Shared memory is faster than message passing, but message passing is more r...

  • Answered by AI
  • Q10. If you have design offline browser and what will be challenges that you will face
  • Ans. 

    Designing an offline browser poses challenges such as data storage, synchronization, and user experience.

    • Ensuring efficient data storage and retrieval

    • Implementing synchronization with online content

    • Providing a seamless user experience with limited connectivity

    • Handling updates and changes to online content

    • Managing cache and memory usage

    • Dealing with security concerns

    • Handling different file types and formats

  • Answered by AI
  • Q11. Give the data structure to represent N-ary tree and write to code for its BFS
  • Ans. 

    Data structure and code for BFS of N-ary tree

    • N-ary tree can be represented using a node class with a list of child nodes

    • BFS can be implemented using a queue data structure

    • Iterate through the queue and add child nodes to the queue

    • Pop the node from the queue and process it

    • Repeat until the queue is empty

  • Answered by AI
  • Q12. You are given binary tree. Weight of node in binary tree=data present in it*level of that node(root’s level was given to be 1).Find the node in tree with maximum weight
  • Ans. 

    Find node with maximum weight in a binary tree based on data and level of node

    • Calculate weight of each node based on data and level

    • Traverse the binary tree and keep track of node with maximum weight

    • Return the node with maximum weight

  • Answered by AI
  • Q13. You are given infinite sequence of continuos natural numbers-1,2,3,4,5,6.......... Initially you delete every 2nd element so sequence will be 1,3,,5,7,9,11,13..... now in the resultant sequence you dele...
  • Ans. 

    Program to check if a given number is a lucky number or not.

    • Create a function that takes an integer n as input

    • Initialize a variable count to 2

    • Loop through the sequence and delete every count-th element

    • Repeat the above step until the end of the sequence

    • If n is present in the final sequence, return true, else return false

  • Answered by AI
  • Q14. Write the code to find inorder successor of given node in binary tree
  • Ans. 

    Code to find inorder successor of given node in binary tree

    • Check if the given node has a right subtree, if yes then find the leftmost node in the right subtree

    • If the given node does not have a right subtree, then traverse up the tree until we reach a node which is the left child of its parent

    • If we reach the root and the given node is the rightmost node, then there is no inorder successor

  • Answered by AI

Interview Preparation Tips

College Name: Veermata Jijabai Technological Institute, Mumbai [ VJTI ]

Skills evaluated in this interview

Top Microsoft Corporation Software Developer Interview Questions and Answers

Q1. Buses Origin Problem Statement You have been provided with an array where each element specifies the number of buses that can be boarded at each respective bus stop. Buses will only stop at locations that are multiples of the bus stop they ... read more
View answer (3)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

Interview Questionnaire 

8 Questions

  • Q1. Given an integer array, find all (a,b,c) such that a^2 + b^2 = c^2 Solution is O(n^2) Write code and testcases
  • Ans. 

    Given an integer array, find all (a,b,c) such that a^2 + b^2 = c^2. Solution is O(n^2). Write code and testcases.

    • Use nested loops to iterate through all possible pairs of integers in the array

    • Check if the sum of squares of the two integers is a perfect square

    • If yes, add the triplet to the result list

    • Return the result list

  • Answered by AI
  • Q2. Find the height og a binary tree without recursion. Write code and testcases
  • Ans. 

    Find height of binary tree without recursion

    • Use a stack to keep track of nodes

    • Iteratively traverse the tree and update height

    • Testcases: empty tree, single node tree, balanced tree, unbalanced tree

  • Answered by AI
  • Q3. Given a bit pattern (in an integer INPUT), and another pattern (in an integer PATTERN, with a number n signifying the number of trailing bits to be considered as pattern - remaining bits are zero. Example:...
  • Ans. 

    Count the number of occurrences of a given bit pattern in an integer.

    • Extract the n trailing bits from the pattern and create a mask with all other bits set to zero.

    • Use a sliding window approach to compare the extracted pattern with all possible n-bit sequences in the input integer.

    • Increment a counter every time the extracted pattern matches with a sequence in the input integer.

  • Answered by AI
  • Q4. Given a pointer to the root of a binary tree, find whether the left and right subtrees are mirror images of each other
  • Ans. 

    Given a binary tree, check if left and right subtrees are mirror images of each other.

    • Traverse the tree and compare left and right subtrees recursively.

    • Use a stack or queue to traverse the tree iteratively.

    • Check if the left subtree is a mirror image of the right subtree by comparing their values and structures.

    • Consider an empty tree as a mirror image of itself.

  • Answered by AI
  • Q5. Given a string INPUT, find the longest repeating substring
  • Ans. 

    Find the longest repeating substring in a given string.

    • Create an array of all possible substrings of the given string.

    • Sort the array in lexicographic order.

    • Find the longest common prefix between adjacent strings.

    • Return the longest common prefix found.

    • If no repeating substring is found, return an empty string.

  • Answered by AI
  • Q6. 2 magnesium strips and a matchbox are given. Each burns in 60 minutes, with no relation between length burnt and time. Calculate 45 min
  • Q7. You have 3 baskets- one containing apples, one oranges and the last containing both. All baskets are incorrectly labelled.You can pick *one* fruit from *any one* basket and are supposed to correctly label ...
  • Ans. 

    Pick a fruit from the basket containing both fruits and label the baskets accordingly.

    • Pick a fruit from the basket labelled 'apples and oranges'

    • If you pick an apple, label the basket containing only apples

    • If you pick an orange, label the basket containing only oranges

    • Label the remaining basket as containing both fruits

  • Answered by AI
  • Q8. You're in the center of a circular pond, with an *intelligent* lion at the circumference - intelligent implies you can't trivially fool it. Given that, your swimming speed = x, lion's running speed on l...
  • Ans. 

    Escape from an intelligent lion at the circumference of a circular pond with given speeds.

    • Swim towards the circumference of the pond to make the lion run a longer distance.

    • Once the lion is at a considerable distance, get out of the pond and run in the opposite direction.

    • Use obstacles like trees or rocks to slow down the lion.

    • Try to confuse the lion by changing directions frequently.

  • Answered by AI

Interview Preparation Tips

Round: Technical Interview
Experience: Given a string INPUT, find the longest repeating substring.

Example: if INPUT = ababcbacabc, answer would be abc.

Write testcases.

The most important thing here is that you're supposed to ask questions to resolve ambiguities - the substrings cannot be overlappping.

Example: If INPUT = seattle, the expected answer is t, not e.

Example: If INPUT = ababa, answer = ab, not aba.

All such corner-cases must be considered.
Screening interview:

I had a single screening interview for conversion from Microsoft IDC to Redmond. It was more like a chat - in the initial 10-15 minutes atleast.

The first 10-15 minutes was about:

what i learnt at Microsoft
What was my project about
What did I learn from my project (my answer to this included both, learning in technical sense and personal development.
“Why test?” (IDC had selected me as an SDET, and that’s the profile they’d forwarded)

After that he asked what I liked to do (problem solving etc.) On saying “solving new and challenging problems”, he gave me the question:

Given 3 consecutinve numbers, and that the first and third are prime, is it always true that the middle number is divisible by 3 ? Prove your answer.
This question was majorly to check if I can think and zero in on the solution and the process.

Then, my second (and easy) question was to

Write a code for tokenizing a character stream. The stream starts and ends with a delimiter.
Example: Input: “
Here, the start of the string is denoted by ‘<’, and end by ‘>’.
The expected output is to return(or print) list of individual words. ie: “abc, def, msft, pr-st” (four words)

This is a ridiculously easy thing to code - but they weren’t interested in code. What he wanted to see was:
1. Approach
2. If the logic is sturdy enough and considers all test cases
2. Design choices and decision making (the whole Q revolved around this) - I made a list of test cases that the code should consider. In each case, there is a decision to be made - he wanted to see why I decided what I decided.
Example:
Input: “ a<efg>”
This obviously is something where a normal program would fail. My logic to this was: Discard everything before the first start delimiter, after the first end delimiter.
So my output: “abc, cd”

That was all.

Tips: Mine was a PrePlacement interview process - doesnt differ much from the normal campus, but competition is awesome.

College Name: Veermata Jijabai Technological Institute, Mumbai [ VJTI ]

Skills evaluated in this interview

Top Microsoft Corporation Software Developer Interview Questions and Answers

Q1. Buses Origin Problem Statement You have been provided with an array where each element specifies the number of buses that can be boarded at each respective bus stop. Buses will only stop at locations that are multiples of the bus stop they ... read more
View answer (3)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

Interview Questionnaire 

6 Questions

  • Q1. Given a string s[1...n] and a reverse function reverse(s, i, k) > which reverses the character sequence from i to k (inclusive of both) > in string s, determine what the following operations result in. > 1...
  • Ans. 

    Determining the result of string reversal and rotation operations using a reverse function.

    • The first operation reverses the first half and second operation reverses the second half of the string, resulting in a rotation of the string left k positions.

    • The third operation reverses the entire string, resulting in a reversal of the string.

    • Therefore, the correct answer is (b) Rotates the String left k positions.

    • Example: s =...

  • Answered by AI
  • Q2. If len is the length of the string and num is the number of > characters printed on the screen > Give the relation between num and len. > > void abc (char *s){ > if(s[0]=='') > return; > > abc(s+1); > a...
  • Ans. 

    Relation between num and len in a given code snippet

    • The code recursively calls the function abc() twice for each character in the string

    • The printf() statement prints each character once

    • The number of '>' characters printed on the screen is equal to num

    • The length of the string is equal to len

    • The relation between num and len is num = 2^len - 1

  • Answered by AI
  • Q3. Which of the following numbers cannot be represented accurately in > binary? > a) 0.1 b) 6.5 c) 1/16 d)1.32 e) 0.590625 (not sure abt option e) > > 1. a only > 2. a and b > 3. a, b and d > 4. a, b and e ...
  • Ans. 

    Identifying which numbers cannot be accurately represented in binary.

    • Binary cannot accurately represent decimal fractions that do not have a power of 2 as their denominator.

    • Option a (0.1) and option e (0.590625) cannot be accurately represented in binary.

    • Option b (6.5) and option d (1.32) can be accurately represented in binary.

    • Option c (1/16) can be accurately represented in binary as 0.0001.

  • Answered by AI
  • Q4. A process doesn't require additional processors to carry out 40% of > it's execution since 40% is mostly sequential. Determine how many > additional processors are required to execute the process in 150s i...
  • Ans. 

    Additional processors required to execute a process in 150s with 40% sequential execution.

    • Process takes 300s on a single processor

    • 40% of the process is sequential and doesn't require additional processors

    • Calculate the time taken by the remaining 60% of the process

    • Determine the speedup required to execute the remaining 60% in 150s

    • Calculate the number of additional processors required based on the speedup

  • Answered by AI
  • Q5. Time complexity of a function f(m) is O(m). If the array[i...n] > contains either 1 or 0 in each of it's locations, determine the worst > case time complexity of the following piece of code written in C-li...
  • Ans. 

    Determining worst case time complexity of a code snippet with given time complexity of a function and array

    • The time complexity of the given code snippet is O(n)

    • The function f(m) is called only when a 0 is encountered in the array

    • The worst case time complexity is O(n)

    • The code snippet iterates through the entire array once

  • Answered by AI
  • Q6. Increasing the RAM increases the efficiency of the CPU. The reason > is > a) Virtual memory increases > b) Number of page Page faults decreases > c) Page segmentation decreases > d) Increasing the amount o...
  • Ans. 

    Increasing RAM improves CPU efficiency due to virtual memory and reduced page faults.

    • Increasing RAM allows for more data to be stored in memory, reducing the need for frequent access to slower storage devices.

    • Virtual memory allows the operating system to use hard disk space as if it were RAM, increasing the effective amount of memory available to the CPU.

    • Reducing page faults, which occur when the CPU needs to access da...

  • Answered by AI

Interview Preparation Tips

College Name: Veermata Jijabai Technological Institute, Mumbai [ VJTI ]

Skills evaluated in this interview

Top Microsoft Corporation Software Developer Interview Questions and Answers

Q1. Buses Origin Problem Statement You have been provided with an array where each element specifies the number of buses that can be boarded at each respective bus stop. Buses will only stop at locations that are multiples of the bus stop they ... read more
View answer (3)

Software Developer Interview Questions asked at other Companies

Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array = [34, -50, 42, 14, -5, 86] Output: 137 Explanation: The maximum sum is... read more
View answer (42)

I applied via Campus Placement

Interview Questionnaire 

2 Questions

  • Q1. Given a string of unknown length, what is a good approach to find n-k th element from last
  • Ans. 

    To find n-k th element from last in a string of unknown length

    • Traverse the string to find its length

    • Calculate the position of n-k th element from last

    • Traverse the string again to find the element at calculated position

  • Answered by AI
  • Q2. Given an array of strings, count the number of unique occurrences
  • Ans. 

    Count the number of unique occurrences in an array of strings.

    • Create a hash table to store the count of each string occurrence.

    • Iterate through the array and update the count in the hash table.

    • Count the number of unique occurrences by counting the number of keys in the hash table.

  • Answered by AI

Interview Preparation Tips

Round: Resume Shortlist
Experience: They checked my CGPA and my projects worked on. They also looked at previous internship I have done
Tips: Focus on CGPA and projects done. Also mention internship experience.

Round: Test
Experience: Easier questions and good amount of time to think.
Tips: Careful with IDE.
Duration: 60min minutes
Total Questions: 2

Round: Group Discussion
Experience: Enough time to think,solve. Questions were easy and only tested basic understanding of ds and algos.
Tips: Think well. They do not expect complete optimal solution. Discuss your ideas with members there

Round: Technical Interview
Tips: They do not expect optimal solution. they want to know thought process

General Tips: Be thorough in course work being done at present.
Revise the projects you have done in your semester
Skills: Data Structures, Algorithms, Probability theory, Basics of Machine Learning
Duration: 2 months
College Name: IIT Madras
Motivation: Microsoft !

Skills evaluated in this interview

Top Microsoft Corporation Software Engineer Interview Questions and Answers

Q1. You have a cuboid (m*n*p) each block of the cuboid is having a metallic ball. Now we are passing X-ray from front face and getting a bool matrix1 of m*p the elements are set if there is a black spot.(as we are passing X-ray) and another mat... read more
View answer (1)

Software Engineer Interview Questions asked at other Companies

Q1. Bridge and torch problem : Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. They have one torch and, because it's night, the torch has to be used when crossing the bridge. Person... read more
View answer (205)

Microsoft Corporation Interview FAQs

How many rounds are there in Microsoft Corporation interview?
Microsoft Corporation interview process usually has 2-3 rounds. The most common rounds in the Microsoft Corporation interview process are Technical, Coding Test and One-on-one Round.
How to prepare for Microsoft Corporation 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 microsoft, Computer science, C++, Coding and Python.
What are the top questions asked in Microsoft Corporation interview?

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

  1. You are given infinite sequence of continuos natural numbers-1,2,3,4,5,6.........read more
  2. You have a cuboid (m*n*p) each block of the cuboid is having a metallic ball. ...read more
  3. Given a string of containing lower case letters and upper case characters. Find...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.

Microsoft Corporation Interview Process

based on 375 interviews

Interview experience

4.2
  
Good
View more

Interview Questions from Similar Companies

Accenture Interview Questions
3.8
 • 8.1k Interviews
IBM Interview Questions
4.0
 • 2.3k Interviews
Oracle Interview Questions
3.7
 • 846 Interviews
Google Interview Questions
4.4
 • 823 Interviews
Amdocs Interview Questions
3.7
 • 514 Interviews
Dell Interview Questions
4.0
 • 386 Interviews
Cisco Interview Questions
4.1
 • 370 Interviews
SAP Interview Questions
4.2
 • 283 Interviews
Adobe Interview Questions
3.9
 • 233 Interviews
Intel Interview Questions
4.2
 • 214 Interviews
View all

Microsoft Corporation Reviews and Ratings

based on 1.7k reviews

4.0/5

Rating in categories

3.9

Skill development

4.0

Work-life balance

3.9

Salary

3.5

Job security

4.0

Company culture

3.4

Promotions

3.7

Work satisfaction

Explore 1.7k Reviews and Ratings
Software Engineer
1.6k salaries
unlock blur

₹16 L/yr - ₹50 L/yr

Senior Software Engineer
1.1k salaries
unlock blur

₹25 L/yr - ₹96 L/yr

Software Engineer2
1k salaries
unlock blur

₹20 L/yr - ₹72 L/yr

Software Developer
762 salaries
unlock blur

₹14 L/yr - ₹50.4 L/yr

Consultant
600 salaries
unlock blur

₹13 L/yr - ₹36.7 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