Salesforce frontend mock interview
Pick from 23 questions candidates reported at Salesforce 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.
Salesforce's 23 questions are part of Pro. Choose Google, Meta, Amazon, Microsoft and Flipkart to pick from their free questions.
Your interview
0 of 6
0min on one clock
- 1Choose a free company to start
Salesforce mock interviews are part of Pro
With a free account you can take mock interviews for Google, Meta, Amazon, Microsoft and Flipkart.
The Salesforce loop
The rounds Salesforce runs for frontend roles, from its interview guide. The mock interview rehearses the coding and design rounds.
- 1Recruiter and technical screenA call about your background and the role; Salesforce's own guide adds a design problem and a coding exercise in a language you choose.
- 2Online assessmentA timed HackerRank test. One 2025 SMTS frontend candidate had two algorithm problems; an LMTS frontend candidate had a code review exercise.
- 3Hiring managerYour current work and stack, a browser performance topic such as frame rate and animation cost, and a small UI design problem.
- 4Frontend fundamentalsAn hour of HTML, CSS, JavaScript and React: semantic markup, CSS Grid, a bind polyfill, the event loop, refs and Web Vitals.
- 5Frontend system designOne or two 60-minute product designs, such as Google Maps or WhatsApp Web, with new scenarios added as you go.
- 6Culture fit and collaborationConflicts, a bug you shipped to production, difficult working relationships and how you work with QA and other teams.
- 7Team matchingReported by some candidates after the interviews: you are matched with a team before the offer is finalised.
- The full Salesforce interview guide
Salesforce questions in this mock interview
Every one of them opens with Pro.
JavaScript round10
- Implement Function.prototype.bind(), including partial arguments15 min
- Implement a function to flatten a nested array15 min
- Implement an LRU cache35 min
- Put the steps from typing a URL to first paint in order, and mark what blocks rendering20 min
- Implement an LFU cache with O(1) get and put40 min
- Test what users see: pick queries, spot implementation-detail tests and implement getByRole45 min
- Make a modal animation run at 60 fps: layout, paint and composite, will-change and reduced motion30 min
- Choose resource hints for a landing page: preload, preconnect, prefetch, modulepreload and fetchpriority30 min
- Review a React pull request: find the bugs, security holes, accessibility and performance problems25 min
- Find the fewest meeting rooms needed for a list of meetings40 min
React & UI round5
- Split a long task into chunks that yield to the browser to keep INP low30 min
- Build a holy-grail layout with CSS Grid that stacks in narrow containers20 min
- Stop a context from re-rendering every consumer30 min
- Expose one command with useImperativeHandle: focusFirstInvalid() and reset()30 min
- Fix five React bugs: stale interval, missing dependency, mutated state, missing provider and a strict search35 min
System design round8
- Design WhatsApp Web: real-time messaging, ordering, offline state and reconciliation60 min
- Design Google Maps/Uber live tracking: map rendering, location updates, smoothing, and state synchronization60 min
- Investigate an INP of 600 ms in the field that looks fine in the lab45 min
- Design a chart that renders 50,000 points: canvas, downsampling, hit-testing and accessibility50 min
- Design the Slack web client: channels, threads, unread state, presence and fast startup55 min
- Design a store locator with 50,000 map markers: clustering, viewport queries, list-map sync and accessibility55 min
- Design Slack's message composer: @mentions, rich text, drafts and real-time delivery50 min
- Design a drag-and-drop query builder: nested condition groups, field-aware operators, validation and saved queries60 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.