Lead 75
The 75 highest-value questions for senior and lead front end interviews.
A curated core list that covers every round of a senior or lead loop: JavaScript utilities and async control, accessible React components, the algorithms that show up in front end loops, the quiz topics interviewers probe hardest, system design (application, component and platform level), and the leadership stories every lead candidate needs. Start here if you only do one plan.
0 / 75 completed
JavaScript functions
0/15
Utilities and async primitives asked most often.
1.Debounce
Delay invoking a function until a burst of calls has stopped for a given wait time.
2.Throttle
Limit a function to at most one call per wait window, with leading and trailing calls.
3.Promise.all
Implement Promise.all: resolve with every result in order, or reject on the first failure.
4.Promise.any
Implement Promise.any: fulfill with the first success, or reject with an AggregateError.
5.Promisify
Convert a Node-style callback function into one that returns a promise.
6.Map Async with Limit
Map over a list with an async callback while never running more than a given number of calls at once.
7.Promise Pool
Build a concurrency-limited task queue: tasks can be added at any time and at most N run at once.
8.Retry with Backoff
Retry a failing async operation with exponential backoff and a predicate that decides which errors are worth retrying.
9.Deep Clone
Make a deep copy of a JSON-like value so that no nested object or array is shared with the original.
10.Deep Equal
Decide whether two JSON-like values are structurally equal, comparing nested objects and arrays by content.
11.Flatten
Flatten a nested array to a given depth, recursively or with an explicit stack.
12.Memoize
Cache a function's results by argument so repeated calls with the same input skip the work.
13.Curry
Turn a function of n arguments into one that can be called with those arguments one or several at a time.
User interface coding
0/15
Accessible React components with real-world requirements.
1.Todo List
Build a todo list with add, complete, delete and filters, using semantic forms and good focus management.
2.Tabs II: Keyboard Accessible
Add roving tabindex, arrow-key navigation and automatic or manual activation to a tabs component.
3.Accordion
Build an accessible accordion with expandable sections and full keyboard support.
4.Star Rating
Build a star rating input with hover preview, keyboard support and a clear button, built on native radios.
6.Data Table II: Sorting and Filtering
Add sortable column headers and a search filter to a paginated users table.
7.Autocomplete / Typeahead
Build an accessible combobox that searches an async API with debouncing, caching and race-condition handling.
8.Image Carousel
Build an accessible image carousel with previous/next controls, wrap-around and dot navigation.
9.File Explorer
Render a nested folder/file tree where folders expand and collapse, sorted folders-first.
10.Nested Checkboxes
Build a checkbox tree where parents reflect their children as checked, unchecked or indeterminate.
11.Progress Bars II: Concurrency Limit
Extend the progress bars so at most three fill at once while the rest wait in a queue.
12.Tic-tac-toe
Build a two-player tic-tac-toe game with win and draw detection, a live status and a keyboard-navigable board.
13.Transfer List
Move checked items between two lists with per-list select-all and bulk transfer controls.
Algorithmic coding
0/8
The DSA patterns front end loops actually use.
1.Two Sum
Find the two items in a list whose values add up to a target, in a single pass with a hash map.
2.Valid Parentheses
Check that every bracket in a code snippet is closed by the right kind, in the right order.
3.Merge Intervals
Collapse overlapping calendar events into the minimal set of busy blocks.
4.Meeting Rooms II
Find the minimum number of rooms (or calendar columns) needed so no two overlapping meetings share one.
5.Binary Search
Find a value's index in a sorted array in logarithmic time.
6.Top K Frequent Elements
Return the k most frequent values in a list, faster than sorting everything.
7.Number of Islands
Count connected regions of filled cells in a grid with flood fill.
Quiz
0/15
Concepts you must explain crisply, with trade-offs.
1.What is the event loop? Explain the difference between the macrotask and microtask queues.
How JavaScript schedules callbacks, promises and rendering on a single thread.
2.What is a closure, and how/why would you use one?
A closure is the combination of a function and the lexical environment within which that function was declared. The word "lexical" refers to the fact that lexic
3.Explain how this works in JavaScript
There's no simple explanation for this; it is one of the most confusing concepts in JavaScript. A hand-wavey explanation is that the value of this depends on ho
4.Explain how prototypal inheritance works
All JavaScript objects have a proto property with the exception of objects created with Object.create(null), that is a reference to another object, which is cal
5.Explain event delegation
Event delegation is a technique involving adding event listeners to a parent element instead of adding them to the descendant elements. The listener will fire w
6.What is reconciliation in React?
How React decides which instances to keep, update or remount, based on type, position and key.
7.What is the difference between `useEffect` and `useLayoutEffect` in React?
Effect timing relative to paint, and when blocking paint is worth it.
8.What are React Server Components and how do they differ from SSR?
Server-only components that ship no JS, the use client boundary, and how RSC complements SSR.
9.How would you optimize the performance of React contexts to reduce rerenders?
Stable values, split contexts, state/dispatch separation and selector-based stores.
10.Explain `useTransition` and `useDeferredValue` and when to use each
Marking updates as non-urgent so concurrent React keeps input responsive.
11.What are the Core Web Vitals today, how are they measured, and what are the thresholds?
LCP, INP and CLS: what each one captures, the p75 thresholds, and lab vs field data.
12.Walk through the critical rendering path. What blocks rendering, and how do you shorten it?
HTML parsing, CSSOM, render-blocking vs parser-blocking resources, the preload scanner and first paint.
13.Explain stored, reflected and DOM-based XSS. Does using React make you safe?
The three XSS classes, what JSX escaping does and doesn't cover, and defence in depth.
System design
0/12
Application, component and platform-level design.
1.News Feed (e.g. Facebook)
Design an infinitely scrolling, personalised social feed with posts, reactions, comments and live updates.
2.Autocomplete / Typeahead Component
Design a reusable, accessible autocomplete component with debounced search, caching, race handling and keyboard navigation.
3.Chat Application (e.g. Messenger)
Design a real-time web messenger with conversations, delivery and read receipts, typing indicators and offline support.
4.E-commerce Marketplace (e.g. Amazon)
Design the front end of a large e-commerce site: search and listing, product detail, cart and checkout, with SEO and Core Web Vitals in mind.
5.Photo Sharing App (e.g. Instagram)
Design a photo-first social app: image feed, profile grid, upload with client-side processing, and likes and comments.
6.Collaborative Document Editor (e.g. Google Docs)
Design a real-time collaborative rich-text editor with presence, comments, offline edits and version history.
7.Data Table / Data Grid Component
Design a reusable data table with sorting, filtering, pagination, selection, column resizing and virtualization.
8.Modal Dialog Component
Design an accessible modal dialog: native dialog vs custom, focus trapping, scroll locking, stacking and API.
9.Design System at Scale
Design a company-wide design system (tokens, components, docs, tooling) consumed by dozens of teams across multiple frameworks and brands.
10.Micro-Frontend Platform
Design a platform that lets many teams build, deploy and compose independently released front-ends into one coherent product.
Behavioral & leadership
0/10
Stories every lead candidate needs ready.
1.Tell me about yourself (lead edition)
A two-minute career pitch that frames you as a front-end lead: scope, impact, how you lead and why this role is the next step.
2.Tell me about a project you led end to end
Walk through a front-end initiative you owned from problem framing to measured outcome, showing scope, trade-offs and how you led people.
3.Influencing without authority
Show how you got other teams to adopt a front-end change you could not mandate, using evidence, low-friction paths and allies.
4.A disagreement with a product manager
Show how you handled a real conflict with product over scope, quality or approach, and reached a decision that served users and the business.
5.A production incident you owned
Walk through a front-end production incident: detection, mitigation, communication, root cause and the blameless follow-up that prevented a repeat.
6.Prioritising tech debt against features
Explain how you made the business case for front-end tech debt work, balanced it with roadmap pressure and showed the payoff.
7.Mentoring an underperforming engineer
Describe how you diagnosed why an engineer was struggling, set clear expectations, supported them and handled the outcome honestly.