Now practice all your interviews before giving the real one
( Microsoft interview questions )
15 questions candidates report from Microsoft interviews, grouped by topic, with a short note on how to answer each kind. Then say your answers out loud in a practice interview.
5 minutes, no CV needed. A practice round, not Microsoft's own.
Our bank holds 348 coding questions, 12 system design topics and 5 behavioural topics that candidates report from Microsoft interviews. The topics that come up most: arrays & hashing (71), math & bits (55), graphs (29) and dynamic programming, 1-D (23). Of the 348 coding questions, 103 are easy, 221 medium and 24 hard.
Our data covers coding, system design and behavioural questions for Microsoft. These are practice questions based on what candidates report on public, community-kept lists, each written in our own words. RoundAlpha is not linked to Microsoft.
( Questions )
Two SumEasy
Given an array of integers nums and an integer target, return the positions of the two numbers that add up to target.
Longest Leading MatchEasy
Given an array of strings strs, return the longest sequence of leading characters that appears at the beginning of every string.
Add Two NumbersMedium
l1 and l2 are the first nodes of two linked lists. Each node holds a number, val, and a link to the node after it, next; the last node's next is null.
Longest Unique StretchMedium
Given a string s, return the length of the longest stretch of consecutive characters in which no character appears twice.
Longest Palindrome InsideMedium
You are given a string s. Return the longest piece of it — a run of letters that sit next to each other in s — that reads the same forwards and backwards (a palindrome).
Best Slice SumMedium
You are given a list of whole numbers, nums, some of which may be negative. A slice is a run of one or more numbers that sit next to each other in the list.
Biggest Water TankMedium
A row of walls stands on flat ground, one metre apart; height[i] is the height of wall i.
Trapped RainwaterHard
A row of bars stands side by side, each 1 unit wide; height[i] is the height of bar i. After a heavy rain, water settles in the dips between the bars.
Merge RangesMedium
You are given a list of ranges, each written as [start, end]. Merge every group of ranges that overlap or touch, and return the merged ranges sorted by their start.
Short links and fast redirectsEasy
Cap how often a caller may hit an APIEasy
Real-time messaging with delivery guaranteesMedium
Tell me about: a time you failed, and what you changed after
What it checks: ownership / humility.
Tell me about: making progress with the requirements still unclear
What it checks: comfort with ambiguity.
Tell me about: moving work through people who don't report to you
What it checks: influence.
Want to write the code too? The Microsoft list on our coding practice page runs your answer against hidden tests, in six languages.
Questions
Our bank holds 348 coding questions, 12 system design topics and 5 behavioural topics that candidates report from Microsoft interviews. The topics that come up most: arrays & hashing (71), math & bits (55), graphs (29) and dynamic programming, 1-D (23). This page shows 15 of them, grouped by topic.
Of the 348 coding questions, 103 are easy, 221 medium and 24 hard. The level you meet depends on the role and your experience, so practise easy and medium ones until you can explain them out loud, then add hard ones.
They are practice questions based on what candidates report from Microsoft interviews on public, community-kept lists. Each one is written in our own words. RoundAlpha is not linked to Microsoft, and no list can promise what a given interviewer will ask.
Yes. A new account you sign up for yourself gets one short free practice interview. Name Microsoft as the company and the interviewer leans its questions toward that company. You can choose "No CV this time", so no CV is needed. You talk out loud and get a scored report at the end.
Candidates report 12 system design topics from Microsoft interviews in our data. Start with the requirements, draw the simplest working version, then say what breaks first as it grows.
Read next
Ready when you are
A short practice interview with Microsoft named as the company, then a scored report on every answer.
5 minutes, no CV needed. A practice round, not Microsoft's own.