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 Development Engineer Interview Questions, Process, and Tips for Freshers

Updated 1 Apr 2024

Top Microsoft Corporation Software Development Engineer Interview Questions and Answers for Freshers

  • Q1. Given two words, find the similarity between them. You have to develop your own sense of similarity here. Normalize length of LCS by the total length of the string.
  • Q2. How would you find least common ancestor of two nodes in a binary tree?
  • Q3. How would you identify two nodes that have been swapped in a binary search tree?
View all 9 questions

Microsoft Corporation Software Development Engineer Interview Experiences for Freshers

5 interviews found

I appeared for an interview in Dec 2016.

Interview Questionnaire 

9 Questions

  • Q1. Tell me about your internship experience.
  • Ans. 

    I completed a software development internship at a tech startup.

    • Developed a web application using React.js and Node.js

    • Worked on optimizing database queries for improved performance

    • Collaborated with a team of developers to troubleshoot and debug code

    • Participated in daily stand-up meetings to discuss progress and roadblocks

  • Answered by AI
  • Q2. Discuss about a project mentioned in your CV.
  • Ans. 

    Developed a web application for online shopping

    • Used HTML, CSS, and JavaScript for front-end development

    • Implemented backend using Node.js and MongoDB for database management

    • Integrated payment gateway for secure transactions

    • Implemented user authentication and authorization features

  • Answered by AI
  • Q3. Given two words, find the similarity between them. You have to develop your own sense of similarity here. Normalize length of LCS by the total length of the string.
  • Ans. 

    The question asks to find the similarity between two words by normalizing the length of the longest common subsequence (LCS) by the total length of the string.

    • Implement a function that takes two words as input

    • Find the length of the longest common subsequence (LCS) between the two words

    • Normalize the length of LCS by dividing it by the total length of the string

    • Return the normalized similarity value

  • Answered by AI
  • Q4. Stress checking questions
  • Q5. Given a binary tree, return doubly linked list of all the nodes at each level.
  • Ans. 

    The function takes a binary tree as input and returns a doubly linked list of all the nodes at each level.

    • Use a breadth-first search (BFS) algorithm to traverse the binary tree level by level.

    • For each level, create a doubly linked list and add the nodes to it.

    • Connect the doubly linked lists of each level to form the final result.

  • Answered by AI
  • Q6. Can you work under pressure?
  • Ans. 

    Yes, I can work well under pressure by staying organized, prioritizing tasks, and maintaining a positive attitude.

    • I have experience working on tight deadlines and delivering high-quality results.

    • I am able to stay calm and focused in stressful situations.

    • I prioritize tasks effectively to ensure that all deadlines are met.

    • I communicate effectively with team members to manage workload and expectations.

    • I maintain a positiv...

  • Answered by AI
  • Q7. Tell me your achievements.
  • Ans. 

    Led a team to successfully launch a new mobile app, resulting in a 50% increase in user engagement.

    • Led a team to develop and launch a new mobile app

    • Achieved a 50% increase in user engagement

    • Implemented new features based on user feedback

    • Collaborated with cross-functional teams to ensure project success

  • Answered by AI
  • Q8. How can you be an asset to the company?
  • Ans. 

    I can contribute my strong technical skills, problem-solving abilities, and passion for software development to drive innovation and success for the company.

    • I have a solid foundation in software development principles and practices

    • I excel at problem-solving and troubleshooting complex technical issues

    • I am passionate about staying up-to-date with the latest technologies and trends in the industry

  • Answered by AI
  • Q9. Will you deliver your 100% in the job?
  • Ans. 

    Yes, I am committed to giving my 100% in the job.

    • I am dedicated to meeting deadlines and exceeding expectations.

    • I have a strong work ethic and take pride in my work.

    • I am always looking for ways to improve and learn new skills.

    • I have a track record of delivering high-quality results in my previous roles.

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: The test had 3 questions as follows :
Q1. Rainwater Collection - Dynamic programming
Q2. DP / Memoization question
Q3. BFS Matrix Question
Tips: Have strong hold over topics like Dynamic Programming. Graph Theory, specially BFS and DFS.
Duration: 1 hour 30 minutes
Total Questions: 3

Round: Test
Experience: Both questions were based on implementation of puzzles and problems.
Tips: AD-HOC questions should be known and good coding skills with data structures and algorithms.
Duration: 45 minutes
Total Questions: 2

Round: Technical Interview
Experience: The interviewer asked me about my previous internships while in college and made me explain the work I did. Later on he asked me in detail about the projects I did in college.
Tips: Be prepared to explain your internship work and project work in details. You will be cross questioned. So be ready to answer everything related to them. Only enter those projects in your CV which you can explain confidently.

Round: Technical Interview
Experience: I was first asked a coding question related to finding similarity in two words and I had to define the terms of similarity on my own which I did by normalizing length of LCS by the total length of the string. Then I was faced with stress checking. They tried proving me wrong even though when I was right and checked my reaction under stress.
Tips: Be confident about your answers and act smart. Don't hesitate to explain and believe in your skills. Take criticism in a positive manner.

Round: Technical + HR Interview
Experience: A little coding questions were asked like binary trees, doubly linked lists etc. Then the usual HR questions like achievements, how would I be an asset to the company and all.
Tips: Think out loud. Communicate with the interviewer well. Clarify whatever you don't understand. Show them that you are passionate and excited to work with them. Show that you will give your best to help grow the company.

Skills: Coding Skills, Communication And Confidence, Ability To Cope Up With Stress, Logical And Structured Thinking
College Name: IIT Varanasi

Skills evaluated in this interview

Interview Questionnaire 

8 Questions

  • Q1. : While I read the resume go ahead and introduce yourself.
  • Q2. : Questions about DSA and DBMS
  • Q3. Write code for the subtitle syncing application you talked about, not the entire thing, just the crux of it.
  • Ans. 

    Code for subtitle syncing application

    • Create a function to parse subtitle file and extract time stamps

    • Create a function to parse video file and extract time stamps

    • Calculate time difference between subtitle and video time stamps

    • Adjust subtitle time stamps accordingly

    • Output synced subtitle file

  • Answered by AI
  • Q4. Write code for designing the ADT (Abstract Data Type) for all the classes that might be required to represent the game of chess
  • Ans. 

    Design ADT for chess game classes

    • Create classes for pieces (king, queen, etc.), board, player, game

    • Use inheritance to represent different types of pieces

    • Implement methods for moving pieces, checking for checkmate, etc.

  • Answered by AI
  • Q5. Why Microsoft?
  • Ans. 

    Microsoft is a leader in technology innovation and provides a challenging and rewarding work environment.

    • Microsoft is a well-established and respected company in the tech industry

    • The company is known for its cutting-edge technology and innovation

    • Working at Microsoft offers opportunities for growth and development

    • The company culture values diversity and inclusion

    • Microsoft has a strong commitment to social responsibility

  • Answered by AI
  • Q6. You left Barclays for Microsoft?
  • Ans. 

    Yes, I left Barclays to join Microsoft.

    • I was looking for new challenges and opportunities to grow my skills.

    • Microsoft offered a more dynamic and innovative work environment.

    • I was excited about the potential to work on cutting-edge technology and make a real impact.

    • I had always admired Microsoft's commitment to innovation and customer satisfaction.

  • Answered by AI
  • Q7. What makes you better than you colleagues?
  • Ans. 

    I believe in continuous learning and improvement, and strive to bring innovative solutions to the table.

    • I am always looking for ways to improve my skills and knowledge

    • I am proactive in identifying and solving problems

    • I am a team player and collaborate effectively with my colleagues

    • I am committed to delivering high-quality work and meeting deadlines

    • I am adaptable and able to work in a fast-paced environment

  • Answered by AI
  • Q8. 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

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Some companies don’t make any strict regulations regarding the language in question, but Microsoft always goes with C/C++. The questions are similar to what you would find in books like “Let us C”. Questions regarding pointer manipulation, predicting the output, pre-order postorder increment decrement, structures, arrays formed the majority. · These are their favourite areas of computer science that they choose to focus on. That being said the questions asked in this section were quite few. Maybe 5 or less than that. Questions regarding like memory allocation in OS, preferred data structure for a particular application, properties of database management systems made it in.
Tips: 1.   While preparing for the aptitude, sharpen your C skills. Give second preference to OS, DBMS and DSA. 2.   Get extensive practice in the most common types of C aptitude questions and give regular online tests. 3.   Cover what you can in OS, DBMS and DSA in the time that remains.
Total Questions: 30 MCQs

Round: programming round
Experience: Once you clear the aptitude you become eligible for the programming round. This round has two questions meant to be solved in C. The focus is on the following aspects and in this particular order:CorrectnessOutput is correct for the given test cases Completeness Output is correct for all the test cases Time Complexity The program has the specified time complexity or less Space Complexity The program does not occupy too much excess space
You don’t have to write the entire programs just the necessary functions to perform the tasks given. The results were declared after a few days when Microsoft visited.
Question1 - Find an element in a rotated sorted array in O(log n) time. For ex. Find 4 in 7 8 9 1 2 4 5 
Question2 - With a parent pointer in every node of a binary tree, find the in order successor of a given node. I solved both of these questions, yet my solution for the first one used some amortized amount of time (amortized time is time that is not significant enough to affect the order, that is log n, but it is not too insignificant to be ignored as constant) more than the required time constraint which had me worried a little
Tips: Work on getting at least the right answer, worry about the run time and space complexity later. Even people who could get just the right answer made it to the wildcard round

Round: case study round
Experience: People who barely managed to get their output right in the last round were eligible for this round. I don’t have details about how this round was conducted since I wasn’t part of it but it is pretty standard procedure, the same kind of GD or case study that happens in most companies

Round: Technical Interview
Experience: Keep it real. Say stuff that is good about you AND makes you a good candidate for the job. You never have more than 3-4 minutes for such questions so focus on conveying what is most important. After general introductions, I talked about how passionate I am about programming and technology in general, how I didn’t just see it as a subject or a career option but something that I enjoyed doing and have successfully used in my daily life. Talk about what values and work ethics you believe in. End it with what qualities you have as a person or as a possible employee. Please note that you should not leave the interviewer on just your words to believe on. Give short descriptive examples to support what you are saying but don’t go on telling long boring stories I gave the required answers. I am not elaborating on this part since this is something that you can answer just by knowing your stuff. It was nothing out of the ordinary but it wasn’t all that easy. DSA and DBMS were among my favourite subjects so I did pretty well.  I wrote the code since I had actually made the application. This is an important question where he was testing whether I told the truth or not earlier. So whatever happens do not lie or make up even a single detail while explaining something, you never know what might come back to haunt you Write code for designing the ADT (Abstract Data Type) for all the classes that might be required to represent the game of chess Me: This was the kind of question that I wasn’t expecting. Also the reason I got this question was that I had mentioned chess in my hobbies. So keep in mind every small thing you put in your resume matters a lot. He allowed me to choose my language of choice so I began with Java and then I did the important part.

Round: HR Interview
Experience: Why Microsoft?- Give some answer that is well thought and prepared beforehand.
You left Barclays for Microsoft? -Basically what they wanted to know here is that I don’t have the same plans for Microsoft. I told them Barclays was an investment bank and while I was fortunate to get a chance to work in that great environment I want to start my career in a product based company so Microsoft (Microsoft is becoming a service based company now BTW) Note: If you have done internship somewhere else and have rejected an offer from there, say only good things about your previous employer. Anything else will reflect badly on you.   
What makes you better than you colleagues? - Whatever nice things you can say about yourself, everything comes here. Don’t, however mention the negative points of your colleagues, in hopes of making yourself look good. It will only make you look bad. 
Write the artificial intelligence logic in code for your Chess representation- Now the fact that this question was asked in HR rather than Tech should give you an idea about the real purpose of this question. When this question was asked we didn’t even have AI as a subject yet. The interviewer knew beforehand that I could not code this. He wanted to see how I would handle it. So after thinking for a few minutes I decided to draw flow charts and map out scenarios

College Name: IIT MADRAS

Skills evaluated in this interview

Software Development Engineer Interview Questions Asked at Other Companies for Fresher

Q1. Given two words, find the similarity between them. You have to de ... read more
Q2. How would you find least common ancestor of two nodes in a binary ... read more
asked in Amazon
Q3. Implement the "People you may know" feature of facebook with code ... read more
Q4. How would you identify two nodes that have been swapped in a bina ... read more
Q5. Given a binary tree, return doubly linked list of all the nodes a ... read more

Interview Questionnaire 

10 Questions

  • Q1. How I would have attempted the first question in round 2
  • Q2. Asked me my interests?
  • Q3. How would you find least common ancestor of two nodes in a binary tree?
  • Ans. 

    To find least common ancestor of two nodes in a binary tree, traverse the tree from root to the nodes and store the paths. Then compare the paths to find the common ancestor.

    • Traverse the binary tree from root to the two nodes and store the paths

    • Compare the paths to find the common ancestor

    • If the binary tree is a BST, compare the values of the nodes to find the common ancestor

    • If one of the nodes is the ancestor of the o

  • Answered by AI
  • Q4. How would you optimize it for a binary search tree?
  • Ans. 

    Optimizing for binary search tree

    • Ensure the tree is balanced to maintain O(log n) search time

    • Implement efficient insertion and deletion algorithms

    • Use in-order traversal for sorted output

    • Consider using AVL or Red-Black trees for self-balancing

    • Avoid using recursion for large trees to prevent stack overflow

  • Answered by AI
  • Q5. Find a string in a 2D character matrix in any order(horizontal/vertical/diagonal)
  • Ans. 

    Search for a string in a 2D character matrix in any direction

    • Iterate through each cell of the matrix

    • For each cell, check all possible directions for the string

    • If found, return the starting and ending coordinates of the string

  • Answered by AI
  • Q6. How would you identify two nodes that have been swapped in a binary search tree?
  • Ans. 

    To identify swapped nodes in a binary search tree, we need to perform an inorder traversal and compare adjacent nodes.

    • Perform an inorder traversal of the binary search tree

    • Compare each node with its adjacent node

    • If a node is smaller than its previous node, mark it as a swapped node

    • If two nodes are swapped, swap their values to restore the original binary search tree

  • Answered by AI
  • Q7. Asked me to write a function for reversing characters in a string
  • Q8. Asked me to explain my projects.
  • Q9. A few HR questions about family, achievements, why Microsoft, future pla
  • Q10. Creative Interview

Interview Preparation Tips

Round: Test
Duration: 30 minutes
Total Questions: 15

Round: coding
Experience: Write 2 functions(not entire programs) in C language on cocubes.com platform Q.1 Find an element in a rotated sorted array in O(log n) time. For ex. Find 4 in 7 8 9 1 2 4 5 A binary search technique could also do it in O(log n). They wanted an optimized binary sort and so I felt, the question wasn't clear enough. Didn't attempt it and told the interviewer the reason. Q.2  With a parent pointer in every node of a binary tree, find the in order successor of a given node. Solved only the second, but I ensured it could work on all boundary cases. Results of round 2 were declared on the day Microsoft visited the campus.

Round: Technical Interview
Experience: How would you find least common ancestor of two nodes in a binary tree? I said you could use two stacks, push nodes as you traverse and then compare when you are popping. He asked me to explain on the whiteboard. I did, but realised there was a problem, I looked at him and he was there, smiling as wide as he could. I asked for 2 minutes, and then gave him a better approach with a stack and a hash table. He seemed satisfied
Tips: Keep talking while you are solving a problem/writing code. This keeps him informed of your progress and if you are lucky, you might receive some help. He repeatedly had been asking me stand up and sit to explain everything on the board. So eat adequately on any interview day.

Round: HR Interview
Experience: Asked me to write a function for reversing characters in a string and left the room. I wrote  4 lines of code to swap characters from ends. A vague question it was, he returned and explained what he wanted later. It was his fault but I politely apologized for not understanding the question. Remember: The boss is always right!

He wanted the string to be reversed alphabetically. So if it was "adecb", it should become "edcba". I wrote code. He had a 2-second glance at it, and then asked for an explanation

Round: Other Interview
Experience: A happy two hour discussion-cum-interview on designing another Facebook, all data structures, algorithms that can be used and features, optimisations that could be added. I asked him a few conceptual questions related to his subjects of interest and he answered delightfully. He gave me his email ID to contact him for more knowledge and for a second I missed my heartbeat, coz that might mean he won’t meet again. But results were announced and there he was, shaking my hands with a gleaming smile.

General Tips: Overall, it was a great experience interacting with them. Seemed to be a nice bunch of interesting people, looking for intellectual conversations with students.
Skills: C, C++, Data structures, Algorithms
College Name: IIT MADRAS

Skills evaluated in this interview

Interview Questionnaire 

13 Questions

  • Q1. Questions based on resume
  • Q2. Questions on Java/JVM and OOP
  • Q3. Question on How to manage yourself and work in a team and your past experiences
  • Q4. Questions on hobbies
  • Q5. Questions on my favorite topics in CSE
  • Q6. Questions on resume + projects + internship
  • Q7. Questions on Data Structures/ Algorithms
  • Q8. Questions on Problem designing
  • Q9. Questions on C/C++ skills
  • Q10. Pen/Paper coding
  • Q11. Questions about myself/hobbies
  • Q12. Questions on resume/internship
  • Q13. A few technical questions

Interview Preparation Tips

Round: Test
Experience: Easy questions on aptitude and output for C/C++.
Tips: Try out questions from GeeksQuiz or -----/
Duration: 30 minutes
Total Questions: 15

Round: Test
Experience: Questions were easy and implementable within the time given. One was on linked list and the other on array/bit-wise arithmetic.
Tips: 2-3 Days of GeeksforGeeks would give you an edge in this round. Make sure you document your code with proper comments and write mnemonic variable names. Also if time permits write the logic or algorithm you've used in comments.
Duration: 60 minutes
Total Questions: 2

Round: Technical Interview
Experience: The overall experience was wonderful. It was my first interview and i was able to answer most of them. On the behavioral questions your opinion should be clear and you should be able to convince the interviewer properly.
Tips: Just be yourself, try to bring topics on which you've worked on earlier into the discussion so that the interviewer takes more time to analyze what you've accomplished. Don't hurry, if you don't know any answer, politely say you don't know it, but you would like to take a try.

Round: Technical Interview
Experience: My interview lasted for 1 hr 15 mins and I started well with my Introduction and hobbies. It was behavioral initially. Be open  and honest  to your interviewer. Don't speak random stuffs you haven't done as your interviewer can instantly browse on the internet about what you are saying and verify them. Have a good understanding of DS/Algo and know at least one OOP. you should at least master one language, its not a huge bonus if you know a lot of them.
Tips: Be clear about what you say and write and instantly correct yourself if you've made a mistake. It shows that you are self-critical and you constantly improve yourself. It is good to accept any mistake you've done. Any code you write on paper should properly highlight your logic used. Its better to write a wrong code and debug/modify it on spot to make it correct rather than writing a code with zero error at first shot. It shows how you learn from your mistakes.
The interviewer wants to see how you adapt yourself and learn, he/she is not interested in how much you know.

Round: Behavioural Interview
Experience: This round was the final round for Microsoft Internship. It was an AA( As Appropriate ) Round, where you can expect technical as well as HR questions.
Tips: Feel confident about yourself and the game plan is again just to be yourself. Do some Research on the company you are sitting for and about their products/services, so that you can show that you are as much interested in joining the company as they want to take you in after clearing all these rounds. Always ask your interviewer some relevant questions, whichever round it may be. This is where you can ask about the company's policies, culture etc.

General Tips: Keep yourself motivated and build your resume. Have good working knowledge and make your fundamental concepts clear. Try to work on projects/internship or summer/winter training courses.
Skill Tips: Just give your best if you are willing for the company and never underestimate your abilities. Have some internships/projects/apps on your resume which you've made. Mention all the relevant work you've done, just don't brag about it. Prepare well for the behavioral questions. Be prepared to admit your mistakes and accept others' solutions.
Skills: Debugging, Openness, Technical, Honesty, Attitude
College Name: National Institute of Technology Durgapur
Motivation: Microsoft was founded by Bill Gates and Paul Allen with an objective of "A Computer in every Home", since then Microsoft has carried on its effort and changed the way we do things and interact with others. It has achieved more than its primary objective and its one of the leading software companies in the world. Its exciting to be a part of it and take joy in developing solutions which affect billions of people worldwide.

Microsoft Corporation interview questions for designations

 Software Development Engineer II

 (6)

 Software Development Engineer 1

 (1)

 SDE (Software Development Engineer)

 (3)

 Software Development Engineer Intern

 (1)

 Software Engineer

 (65)

 Senior Software Engineer

 (28)

 Software Engineer Intern

 (5)

 Associate Software Engineer

 (2)

Interview Preparation Tips

Round: Resume Shortlist
Tips: Iterate it as many times as possible. get it reviewed by as many seniors as possible. Be precise in stating your works and achievements.

Round: Test
Experience: Aptitude material on the SPO website was sufficient. Shortlisting was done from a full fledged online test

Round: Group Discussion
Experience: I didn't prepare for any GD neither did face any.

Round: Technical Interview
Experience: Faced an online technical test. The company who hosted the test goofed up with the interface, so a lot of people wasted time over coding questions that could not be solved because of faulty interface. No request for retest was entertained. Shortlist was fixed on studying compile attempts, time devoted to various sections and other performance measures insensitive to the flaw.

Round: Interview 1
Experience: Ques 1: Given a compact data structures to store string sequentially: one byte stores length, l of the string; next l bytes contains the string characters.
Ques 2: Write a code to insert a given string in the ith place, making sure the DS is still compact.
Ques 3: Write tests to verify correctness.
Ques 4:How will you correct the parse tree for ((a+b)*c)/d? What all dat structures can you use.

Round: Interview 2
Experience: Ques 1: Given a function f that returns true/false based on whether the input string satisfies some criterion in C.
Ques 2: Write a function that verifies that all substrings of a given string satisfy the criterion in C.
Ques 3: You hand over n identical linked lists to n salesperson. After the day's work, these salesperson return back the lists. Merge these lists such that all insertions, deletions, updates are taken care of so that you can repeat this process for the next day.

Round: Interview 3
Experience: Told about myself, my interests, my work so far, my internship projects. Followed by a quick coding question.
int *p;p++
printf("%d", p);
int *f(){int q[12];return q;}
int *p= f();*p=23;
Whats the problem here?
Each interview ended with 'do you have any questions for us?'.

General Tips: Know about your course projects. Be clear with basic CS concepts like OS, compilers and databases Have sophistication in algorithms. Try to cooperate with SPO and make good use of their efforts. Start preparing as soon as possible. Try not to eat anything that might deteriorate your health during the placement. season. Develop priorities both sector and company wise.
College Name: IIT KANPUR

Get interview-ready with Top Microsoft Corporation Interview Questions

Interview questions from similar companies

Interview Questionnaire 

2 Questions

  • Q1. PATTERN PROBLEMS
  • Q2. CALCULATION OF CHILDREN AND GRANDCHILDREN
  • Ans. 

    Calculate the number of children and grandchildren

    • Count the number of direct children of a person

    • Count the number of grandchildren of a person

    • Use recursion to count all descendants

    • Consider only living descendants

    • Exclude step-children and adopted children

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Understand the logic
Practice

Interview Questionnaire 

1 Question

  • Q1. Simple basic c programing questions

I appeared for an interview before May 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Medium

  • Q1. 

    Longest Increasing Subsequence Problem Statement

    Given 'N' students standing in a row with specific heights, your task is to find the length of the longest strictly increasing subsequence of their heights...

  • Ans. 

    Find the length of the longest strictly increasing subsequence of heights of students in a row.

    • Iterate through the heights array and for each element, find the length of the longest increasing subsequence ending at that element.

    • Use dynamic programming to keep track of the longest increasing subsequence length for each element.

    • Return the maximum length found as the result.

  • Answered by AI
  • Q2. 

    Overlapping Intervals Problem Statement

    You are given the start and end times of 'N' intervals. Write a function to determine if any two intervals overlap.

    Note:

    If an interval ends at time T and anothe...

  • Ans. 

    Given start and end times of intervals, determine if any two intervals overlap.

    • Iterate through intervals and check if any two intervals overlap by comparing their start and end times

    • Sort intervals based on start times for efficient comparison

    • Consider edge cases where intervals end and start at the same time

  • Answered by AI
  • Q3. What SQL queries were asked during your interview?
  • Ans. 

    Various SQL queries related to data manipulation and retrieval were asked during the interview.

    • Basic SELECT queries to retrieve data from a single table

    • JOIN queries to retrieve data from multiple tables based on a common column

    • Aggregate functions like COUNT, SUM, AVG, etc. to perform calculations on data

    • Subqueries to retrieve data based on the result of another query

    • UPDATE queries to modify existing data in a table

    • DELE...

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

  • Q1. 

    Zig-Zag String Problem Statement

    Given a string STR of size N and an integer M representing the number of rows in the zig-zag pattern, return the string formed by concatenating all rows when the string ST...

  • Ans. 

    Arrange a string in zig-zag pattern with given number of rows and concatenate the rows.

    • Iterate through the string and distribute characters to rows based on zig-zag pattern

    • Concatenate the characters in each row to get the final result

    • Handle edge cases like when number of rows is 1 or equal to the length of the string

  • Answered by AI
  • Q2. 

    Next Permutation Problem Statement

    You are given a permutation of 'N' integers. A sequence of 'N' integers is considered a permutation if it includes all integers from 1 to 'N' exactly once. Your task is ...

  • Ans. 

    The task is to rearrange a given permutation of 'N' integers to form the lexicographically next greater permutation.

    • Iterate from right to left to find the first element that is smaller than the element to its right.

    • Swap this element with the smallest element to its right that is greater than it.

    • Reverse the elements to the right of the swapped element to get the lexicographically next greater permutation.

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

  • Q1. 

    Remove Consecutive Duplicates Problem Statement

    Given a string S, your task is to recursively remove all consecutive duplicate characters from the string.

    Input:

    String S

    Output:

    Output string

    Constr...

  • Ans. 

    Recursively remove consecutive duplicate characters from a string.

    • Use recursion to check if the current character is the same as the next character, if so skip the next character

    • Base case: if the string is empty or has only one character, return the string

    • Example: Input: 'aaabcc', Output: 'abc'

  • Answered by AI
  • Q2. 

    Print Permutations - String Problem Statement

    Given an input string 'S', you are tasked with finding and returning all possible permutations of the input string.

    Input:

    The first and only line of input ...
  • Ans. 

    Return all possible permutations of a given input string.

    • Use recursion to generate all possible permutations of the input string.

    • Swap characters at different positions to generate permutations.

    • Handle duplicate characters in the input string by using a set to store unique permutations.

  • Answered by AI
Round 4 - Face to Face 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Medium

  • Q1. Design an e-commerce website similar to Flipkart or Amazon.
  • Ans. 

    Design an e-commerce website similar to Flipkart or Amazon.

    • Implement user-friendly interface for easy navigation

    • Include search functionality with filters for products

    • Incorporate secure payment gateway for transactions

    • Provide personalized recommendations based on user behavior

    • Include customer reviews and ratings for products

    • Implement order tracking and delivery status updates

    • Offer various payment options like credit/deb

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from National Institute of Technology, Kurukshetra. I applied for the job as SDE - 1 in BangaloreEligibility criteriaAbove 7.5 CGPASAP Labs interview preparation:Topics to prepare for the interview - DSA(Data Structures and Algorithms),Object-Oriented Programming Principles,Operating Systems,Database Management Systems,Web Development,Machine Learning,Projects(Internship/Full-time)Time required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Prepare DSA well. Standard Leetcode-type questions will be asked.
Tip 2 : You should be crystal clear about your project/s as any question would be asked and you should be able to answer it.
Tip 3 : Prepare CS fundaments like OS, OOPs, DBMS, etc.

Application resume tips for other job seekers

Tip 1 : Clearly mention the tech. stack you have worked on in the project/s
Tip 2 : As a fresher, you should add your coding profiles on CodeChef, Codeforces, etc. so as to make the resume shortlisting easy

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Technical questions were asked

Interview Questionnaire 

1 Question

  • Q1. Computer networking, oops, programming

Microsoft Corporation Interview FAQs

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

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

  1. Given two words, find the similarity between them. You have to develop your own...read more
  2. How would you find least common ancestor of two nodes in a binary tr...read more
  3. How would you identify two nodes that have been swapped in a binary search tr...read more

Tell us how to improve this page.

Microsoft Corporation Software Development Engineer Salary
based on 148 salaries
₹14.2 L/yr - ₹54.1 L/yr
121% more than the average Software Development Engineer Salary in India
View more details

Microsoft Corporation Software Development Engineer Reviews and Ratings

based on 4 reviews

3.8/5

Rating in categories

2.4

Skill development

4.5

Work-life balance

3.4

Salary

2.9

Job security

2.9

Company culture

1.9

Promotions

1.7

Work satisfaction

Explore 4 Reviews and Ratings
Software Engineer
2.2k salaries
unlock blur

₹15 L/yr - ₹51 L/yr

Senior Software Engineer
1.2k salaries
unlock blur

₹25 L/yr - ₹95 L/yr

Software Engineer2
1.1k salaries
unlock blur

₹21.1 L/yr - ₹72 L/yr

Software Developer
880 salaries
unlock blur

₹14.3 L/yr - ₹51 L/yr

Support Engineer
601 salaries
unlock blur

₹9 L/yr - ₹30 L/yr

Explore more salaries
Compare Microsoft Corporation with

Google

4.4
Compare

Amazon

4.0
Compare

Deloitte

3.8
Compare

TCS

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