Microsoft frontend mock interview
Pick from 27 questions candidates reported at Microsoft or its interview guide picks, solve them against the clock, then answer the follow-ups.
Build your interview
Pick up to 6 questions, or add them at random. They share one clock and open in any order.
Your interview
0 of 6
0min on one clock
- 1Tick a question, or add one at random
Add one at random
Mock interviews need a free account, and Microsoft's round is free with one. You come straight back here after signing in.
The Microsoft loop
The rounds Microsoft runs for frontend roles, from its interview guide. The mock interview rehearses the coding and design rounds.
- 1Recruiter screenConfirms your background, the team you are being considered for and the level the loop is aimed at.
- 2Machine codingBuilds a working UI from a product-like prompt in a fixed block of time, often in plain JavaScript, HTML and CSS.
- 3JavaScript and React depthReviews your earlier code and tests async JavaScript, polyfills, caching and React internals.
- 4DesignChecks how you model a problem, either as classes and methods or as a frontend architecture, and explain trade-offs.
- 5Problem solvingA data structures and algorithms round, usually string and array problems at a moderate level.
- 6Hiring managerMixes past experience with browser fundamentals such as the event loop, rendering and Web Vitals.
- 7As Appropriate (AA)A final conversation with a senior leader that covers your background and a problem about working at scale.
- The full Microsoft interview guide
Microsoft questions in this mock interview
The free ones work with a free account; Pro opens the rest.
JavaScript round14
- Implement debounce() with cancel() and flush()Free
- Implement an LRU cache35 min
- Implement a concurrency-safe async cache with TTLFree
- Implement a Promise library with .then(), .catch(), chaining, and asynchronous handler schedulingFree
- Implement a mini useState and useEffect hooks engineFree
- Highlight search terms in text, merging overlapping matches30 min
- Lay out overlapping events in a calendar day view50 min
- Use Proxy and Reflect for validation, negative indexes, change tracking and read-only views35 min
- Design a min stack and a randomized set with O(1) operations30 min
- Diff two n-ary trees: added, deleted, updated and moved nodes, by id and by position45 min
- Check whether a string splits into dictionary words35 min
- Return the left, right, top and bottom views of a binary tree35 min
- Remove duplicate values from a sorted and an unsorted linked list20 min
- Compute a total from a tiered rate table, then answer repeated queries with cumulative tiers and binary search35 min
React & UI round8
- Build a typeahead/autocomplete with caching and keyboard supportFree
- Implement a performance monitor measuring Web Vitals and reporting metrics45 min
- Build a multi-step form as a useReducer state machine with no impossible states40 min
- Build a chat window that sticks to the bottom and keeps its position when loading history45 min
- Build a notification bell with an unread badge, grouped panel and live announcements45 min
- Render nested JSON to real DOM nodes and turn a DOM tree back into JSON25 min
- Build an accessible CSS loading spinner with a hidden label and a reduced-motion rule20 min
- Build a full-page search with paginated results and highlighted snippets50 min
System design round5
- Design WhatsApp Web: real-time messaging, ordering, offline state and reconciliationFree
- Design a notification system: in-app and push, with badge counts synced across tabs and devices60 min
- Design a web email client like Gmail or Outlook60 min
- Design the Netflix web app: personalised rows, hover previews and the video player50 min
- Design an internal financial records dashboard: a summary, a searchable history table, partial API failures and accessible errors60 min
How the mock interview works
- 1Step 1
Build your interview
Pick how many questions you want from each round, the level and a company. Google, Meta, Amazon, Microsoft and Flipkart are free with an account; every other company is in Pro.
- 2Step 2
Solve them against the clock
The room goes full screen: your questions down the left, the problem beside a real editor with tests, and one clock for the whole set. Open the questions in any order.
- 3Step 3
Answer the follow-ups
Then the interviewer asks follow-up questions. Answer each one out loud, open the model answer, and grade yourself as strictly as an interviewer would.
- 4Step 4
Read your debrief
Tests or design, follow-ups and time add up to a score out of 100 for each question, with the verdict a debrief would give. Every score is saved to your dashboard.