Microsoft Corporation
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I appeared for an interview in Aug 2021.
Round duration - 120 Minutes
Round difficulty - Hard
Given a matrix ARR
of dimensions N * M
, your task is to determine the rank of the matrix ARR
.
The rank of a matrix is defined as:
(a) The maximum number of linearly...
Calculate the rank of a matrix based on linearly independent column or row vectors.
Determine the number of linearly independent column vectors or row vectors in the matrix.
Use Gaussian elimination or row reduction to simplify the matrix and find the rank.
The rank of a matrix is the maximum number of linearly independent vectors it contains.
Round duration - 60 Minutes
Round difficulty - Medium
This is an elimination round. The interviewer will ask some technical questions and ask to solve some coding questions.
The interview was on Microsoft teams and coding was on codility.
Determine if two given strings, 'str1'
and 'str2'
, are permutations of each other.
Two strings are permutations of each other if one string's characters ...
Check if two strings are permutations of each other.
Create a character frequency map for both strings and compare them.
If the frequency of characters in both maps is the same, return true.
Handle edge cases like empty strings or strings of different lengths.
Round duration - 60 Minutes
Round difficulty - Hard
Interviewers asked some questions regarding System design and then asked me to perform the task
Design a vending machine that dispenses snacks and drinks.
Include a variety of snacks and drinks such as chips, candy, soda, and water.
Allow users to select items using a keypad or touchscreen interface.
Accept payment through cash, credit/debit cards, or mobile payment apps.
Dispense items once payment is confirmed.
Provide options for refunds or exchanges in case of errors.
Round duration - 60 Minutes
Round difficulty - Hard
There were 2 interviewers. This round was basically Distributed systems.
Given a list of numbers, rearrange them such that every second element is greater than its adjacent elements. Implement a function to achieve this rearrangement.
Rearrange a list of numbers such that every second element is greater than its adjacent elements.
Iterate through the array and swap elements if needed to satisfy the condition
Keep track of the current and next elements to compare and swap
Ensure that the swapped elements maintain the desired order
Round duration - 60 Minutes
Round difficulty - Hard
Tip 1 : Might ask you to write coding in System Design (Eg : Vending Machine)
Tip 2 : Use star methodology to answer.
Tip 3 : Interact as much as you can with the interviewer and discuss your approach to solve questions.
Tip 4: Start your preparation at least 6 months before application
Tip 5 : Practice Leetcode
Tip 1 : Resume should match with job description
Tip 2 : Add a summary section and avoid sections like hobbies, strengths
Tip 3 : Clearly mention your skills
I applied via LinkedIn and was interviewed in Oct 2021. There were 4 interview rounds.
The current chairman of ISRO is K. Sivan.
K. Sivan is an Indian space scientist and the current chairman of ISRO.
He has been associated with ISRO for over three decades and has contributed to several missions.
Under his leadership, ISRO has achieved several milestones, including the successful launch of Chandrayaan-2.
He is also known as the 'Rocket Man' of India.
UNESCO stands for United Nations Educational, Scientific and Cultural Organization.
UNESCO is a specialized agency of the United Nations.
It was established in 1945 with the aim of promoting peace and security through international cooperation in education, science, and culture.
UNESCO is responsible for designating and preserving World Heritage Sites, promoting literacy and education, and supporting cultural diversity.
So...
I applied via Referral and was interviewed before Oct 2020. There were 6 interview rounds.
Coalnet Architecture of MMS Module is a system for managing and monitoring coal mines.
Coalnet Architecture is designed to manage and monitor coal mines.
It includes modules for tracking production, equipment maintenance, and safety.
The MMS Module specifically focuses on maintenance management.
It allows for scheduling and tracking of maintenance tasks, as well as inventory management.
The architecture is scalable and can ...
Reverse a given string
Use a loop to iterate through the string and append each character to a new string in reverse order
Alternatively, use built-in string functions to reverse the string
If the string is stored as an array of characters, swap the first and last elements, then the second and second-to-last elements, and so on until the middle is reached
I applied via Naukri.com and was interviewed in Sep 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Jun 2020. There were 5 interview rounds.
I appeared for an interview before Jan 2021.
Round duration - 120 Minutes
Round difficulty - Medium
The test included MCQ questions from SQL, Linux Commands, C/C++ programming, Logical Reasoning, Aptitude
questions. The other section was the coding round, where 2 SQL queries and 2 coding questions were there.
Determine if an array contains a Pythagorean triplet by checking whether there are three integers x, y, and z such that x2 + y2 = z2 within the array.
The first lin...
Detect if an array contains a Pythagorean triplet by checking if there are three integers x, y, and z such that x^2 + y^2 = z^2.
Iterate through all possible triplets of numbers in the array and check if they form a Pythagorean triplet.
Use a nested loop to generate all possible combinations of three numbers from the array.
Check if the sum of squares of any three numbers is equal to the square of another number.
Return 'y...
Given a string STR
consisting of lowercase English letters, identify the first non-repeating character in the string and return it. If no such characte...
Identify the first non-repeating character in a string and return it, or '#' if none exists.
Iterate through the string to count the frequency of each character
Iterate through the string again to find the first character with frequency 1
Return the first non-repeating character or '#' if none exists
Round duration - 70 Minutes
Round difficulty - Medium
This was a standard DSA round where I was asked to solve 2 questions and also code it in a production ready manner . After DS and Algo , I was asked some questions from OOPS and Java followed by some Unix Commands and basic concepts from Operating Systems.
Given an array ARR
of size 'N', where each integer is in the range from 0 to N - 1, identify all elements that appear more than once.
Return the duplicate elements in any orde...
Find duplicates in an array of integers within a specified range.
Iterate through the array and keep track of the count of each element using a hashmap.
Return elements with count greater than 1 as duplicates.
Time complexity can be optimized to O(N) using a set to store duplicates.
Given a singly linked list of integers, return the head of the reversed linked list.
Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed link...
Reverse a singly linked list of integers and return the head of the reversed linked list.
Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.
Use three pointers - prev, current, and next to reverse the linked list in O(N) time and O(1) space complexity.
Update the head of the reversed linked list as the last node encountered during the reversal process.
Serialization is the process of converting an object into a byte stream, while deserialization is the reverse process.
Serialization is used to persist object state or transmit objects over a network.
Deserialization reconstructs the object from the byte stream.
Java provides Serializable interface for serialization and ObjectInputStream/ObjectOutputStream classes for deserialization.
Example: Serializing an object to a fi
Singleton class in Java ensures that a class has only one instance and provides a global point of access to it.
Singleton class restricts the instantiation of a class to one object.
It provides a way to access its unique instance globally.
Commonly implemented using a private constructor and a static method to return the instance.
Example: Logger class in a multi-threaded application.
Piping in Unix/Linux allows the output of one command to be used as the input for another command.
Piping is done using the | symbol
It helps in connecting multiple commands together to perform complex operations
Example: ls -l | grep .txt - This command lists all files in long format and then filters out only the .txt files
Round duration - 30 Minutes
Round difficulty - Easy
This was a typical HR round with some standard Behavioral questions .
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I applied via Naukri.com and was interviewed in Mar 2020. There were 4 interview rounds.
Rotational shifts refer to working in different shifts at different times. Web service flow is the sequence of steps involved in a web service request. Checking ports on Unix or Solaris machine involves using the netstat command.
Rotational shifts involve working in different shifts at different times, such as day shift, night shift, and swing shift.
Web service flow involves a sequence of steps, such as sending a reques...
based on 2 reviews
Rating in categories
Software Engineer
2.2k
salaries
| ₹12.9 L/yr - ₹51 L/yr |
Senior Software Engineer
1.2k
salaries
| ₹25 L/yr - ₹95 L/yr |
Software Engineer2
1.1k
salaries
| ₹20.8 L/yr - ₹72 L/yr |
Software Developer
842
salaries
| ₹15 L/yr - ₹54 L/yr |
Consultant
609
salaries
| ₹13 L/yr - ₹36 L/yr |
Amazon
Deloitte
TCS