The Wayback Machine - https://web.archive.org/web/20240630205307/https://www.geeksforgeeks.org/microsoft-interview-experience-for-sde-1-hyderabad/
Open In App

Microsoft Interview Experience for SDE-1 (Hyderabad)

Last Updated : 28 Mar, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

I have around 1.5 years of experience and received a call from a recruiter through LinkedIn.

Round 1 (Difficulty Level – Medium): Codility test of 90minutes comprising 3 coding questions.

  • First question: Minimum number of parentheses required to make the string a valid parenthesis.
    This question is expected to be solved in a single traversal else it gives TLE.
  • Second question: Smallest substring occurring only once in a given string
    https://www.geeksforgeeks.org/smallest-substring-occurring-only-once-in-a-given-string/
  • Third question: Related to matrix and DP, was hard and time-consuming
  • Required to solve 50% to reach the next round

Round 2: (Technical Interview Round-1) Difficulty Level – Medium: The interviewer has provided a codility link and asked me to solve a single problem.

  • Question: Given a BST, find two incorrectly placed nodes in the tree. 
     Note – First solve it using a brute force approach and then provide an optimized solution. I solved it using simple inorder traversal and have given the required output.
  • The interviewer was very friendly and helped me whenever I got stuck.

Round 3: (Difficulty Level – Hard): The interviewer has given a codility link with two problems and asked me to solve them.

  • First Question:  https://www.geeksforgeeks.org/program-generate-possible-valid-ip-addresses-given-string/
  • Second Question: Given 2 cities A and B and given an array of pairs (costA, costB) where costA = cost of moving people to city A and costB = cost of moving people to city B. Write a program to move 2N people into both cities A and B such that N people are in A and N people are in B and the cost is minimum.
    Approach: I sorted the array based on the difference in the cost of both cities. Sorting can be done using a comparator interface in Java.

Round 4: (Difficulty Level – Medium): This round was taken by the project manager.

Round 5: (Difficulty Level – Hard): This round was taken by Software Engineering Manager. Provided a codility link with 1 problem to solve

  • Question: Given 2 values N, Sprint all combinations of N numbers such that their sum is S.
    Example: Input – N=2, S=6 
    Output : [0,6],[1,5],[2,4],[3,3],[4,2],[5,1],[6,0].
  • The problem could have been simple if N = 2, but  N varies and repetitions are allowed and all combinations are allowed. I solved it using a recursion approach where one number is kept constant and started filling other numbers such that sum equals S.

Round 6: AA round (Difficulty Level – Medium): This is the final round called AA (As Appropriate) . The interviewer has given a codility link with 1 problem to solve.

  • Question: Given an array of 2N numbers, rearrange the array such that even numbers are in even indexes and odd numbers are in odd indexes. No extra space to be used.
  • Solved it using a single traversal, and the interviewer has tested the code against multiple test cases and all corner cases 

Suggestion: Primary focus in Microsoft is on problem-solving and system design skills. Practicing LeetCode and Microsoft tagged questions on gfg helps a lot.



Previous Article
Next Article

Similar Reads

Amazon Interview Experience for SDE 2 (L5) Hyderabad April 2024 [got the Offer letter]
IntroductionIn February to April 2024, I had the chance to interview with Amazon for the SDE 2 (L5) role. With 2.8 years of previous experience as an SDE 3 at a P-based recruiters MNC, I was eager to explore this new opportunity. Here's a detailed account of my interview journey. Application and Initial ContactOne of the Amazon recruiters reached o
3 min read
Microsoft Interview Experience 2019 | Off-Campus Software Engineering Internship (Hyderabad)
Microsoft conducted an all India drive for hiring SDE Interns(Minimum CGPA was 7 and no backlogs were allowed). They conducted a coding round in which people who solved 3 got a call or people who solved 2 and had a higher CGPA(+9) also received a call. Girls solving one problems were called for on site interview. Coding Round Questions: 1. https://
4 min read
Microsoft Interview Experience for Hyderabad Office Team(2 years Experienced)
Round 1:  Find all the missing numbers from an array of size N whose elements belong to the range [0, N]. https://www.geeksforgeeks.org/find-the-smallest-positive-number-missing-from-an-unsorted-array-set-2/ 2. Check whether the given linked list forms a palindrome. https://www.geeksforgeeks.org/function-to-check-if-a-singly-linked-list-is-palindro
2 min read
Microsoft Interview Experience for Azure Team Hyderabad
Interview was for Azure team IDC Hyderabad. Total 9 candidates came. Round 1: 2->7->8->11 | 13->16->17->21 | 22->23->27->29 | 30->32 Sorted Linked List given like above where each node has 2 pointers left and down. For each row starting nodes down points to next row start. Each row has 4 elements, except last one which
2 min read
Microsoft Internship Experience | Off-Campus Internship (Hyderabad)
Microsoft conducted an all India drive for hiring SDE Interns(Minimum CGPA was 7 and no backlogs were allowed). They conducted a coding round in which people who solved 3 got a call or people who solved 2 and had a higher CGPA(+9) also received a call. Girls solving one problems were called for on site interview. Coding round questions: Distribute
4 min read
Interview with Microsoft (office 365 Hyderabad team) at their Bengaluru office.
Hi, I am a backend developer with 8 years of hands-on experience. One of the HR person from Microsoft approached me to check if I am interested in an opportunity with them, I was told that there will be total four rounds on the same day, 3 rounds followed by hiring manager round. Round 1: 2 interviewers in the panel, one was asking questions other
3 min read
Valuelabs-Hyderabad Interview Experience | On-Campus Interview
Round 1:  Aptitude round - 60 mins  Online test was conducted in mettl platform. 7 sections  including quantitative aptitude, verbal, reasoning, Java, HTML & CSS, data interpretation, debugging  a code (language independent). No specific sectional time-constraints were given. Code given had some sample and weighted edge/corner testcases that we
2 min read
Novartis, Hyderabad On Campus Placement-Interview Experience
Company: Novartis Healthcare, Hyderabad Job Profile: Associate for Machine Learning, Artificial Intelligence, Blockchain and IoT Purpose: On-Campus Placements Number of Rounds Conducted: 5 Round 1: Online Test Novartis Healthcare, Hyderabad visited our campus and a total of ~800 students from CSE, IT, EEE and ECE appeared for the online test which
2 min read
Oracle India Hyderabad Interview Experience
?Oracle India Ltd Hyderabad Interview Experience(Experience 2.5 years) There 150 candidates came there PLACE OF INTERVIEW - PUNE 1 St round ----------- They gave 2 coding give on paper, Those who written those 2 questions they send them to interview 1.Find a pair with the given difference Input: arr[] = {5, 20, 3, 2, 50, 80}, n = 78 Output: Pair Fo
3 min read
OnePlus R&D Hyderabad Interview Experience (Software Engineer) | On-Campus 2019
It was the first time OnePlus came for campus recruitment in our college(NIT Patna) for R&D Hyderabad.They were looking for freshers(2020 pass outs) who can join them for their R&D in Hyderabad. Eligibility criteria - Above or equal to 65% or 6.5 Cgpa in 10th, 12th, B.tech(EE, ECE, CSE, IT) and M.tech(if any). Recruitment Process : Online T
3 min read