Google interview prep

See what Google asks, then get a plan for it

Real Google frontend questions and candidate reports, turned into a week-by-week prep plan.

~2 min · free preview

Company prep

Google Front End Interview Guide

The Google frontend interview process, real questions, and candidate reports.

Questions
222
Reports
Solved
—

Verified by FrontendLead

Practice questions222

StatusQuestionSolution
Easy

Video Solution

Hard

Text Solution

Medium

Video Solution

Hard

Video Solution

Medium

Text Solution

Hard

Video Solution

Easy

Text Solution

Easy

Video Solution

Easy

Text Solution

Easy

Text Solution

Easy

Text Solution

Easy

Video Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

Easy

Video Solution

Medium

Text Solution

Easy

Text Solution

Medium

Text Solution

Hard

Video Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Video Solution

Easy

Text Solution

Easy

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Video Solution

Hard

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

Hard

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Easy

Text Solution

Medium

Video Solution

Hard

Text Solution

Easy

Text Solution

Medium

Text Solution

Medium

Text Solution

Medium

Text Solution

Easy

Text Solution

From the community

Interview reports

Google frontend interviews mix LeetCode-style algorithms with vanilla JavaScript, DOM, and UI rounds. See each round, what interviewers grade, and a prep plan.

This guide is built from 63 Google interview reports shared by FrontendLead members between November 2023 and September 2026, cross-checked against Google’s official hiring guidance. You’ll learn how the loop is structured, what each round tests, how the hiring committee and team matching work, and a prep plan that maps every round to practice on FrontendLead. The exact questions candidates were asked are in the members-only sections below.

One pattern shows up in almost every report: a frontend title does not exempt you from algorithms. Most Google frontend loops are still majority data structures and algorithms, with one or two frontend rounds on top. And the frontend rounds themselves keep coming back to trees: DOM traversal, rendering nested hierarchical UIs, and comparing tree structures. If you can traverse a tree cleanly, both recursively and with an explicit stack, you’re covered for a large share of the loop.

By Shivam Bhalla · Updated

01

Google frontend interview at a glance

Timeline
About 6 to 12 weeks; hiring committee and team matching can add more
Process
Recruiter call, one or two phone screens, virtual onsite, hiring committee, team match, offer
Onsite
Usually 4 to 5 interviews of about 45 minutes each
Round mix
Often 2 to 3 algorithm rounds, 1 to 2 frontend rounds, 1 Googleyness and leadership round
Coding environment
Shared Google Doc or a plain editor; code usually isn’t run
Frameworks
Vanilla JavaScript, HTML, and CSS are the default; some interviewers allow React
Signature topic
Trees: DOM traversal and nested hierarchical UIs
Evaluation
General cognitive ability, role-related knowledge, leadership, Googleyness
Leveling
L3 new grad, L4 mid-level, L5 senior; system design appears mostly from L5
02

Google frontend interview process

Google’s official hiring overview describes an application review, recruiter conversation, role-specific phone interviews, and an onsite of about four 45-minute interviews, followed by a hiring committee. Member reports match that outline, with a few frontend-specific twists.

  1. 1

    Application, referral, or recruiter outreach

    1 to 4 weeks

    Many members were contacted by a recruiter rather than applying cold, sometimes years after an earlier rejection. Referrals help: one member with a referral skipped the phone screen entirely, and another had the screen waived because of a competing offer. Google’s guidance suggests applying to a small number of roles where you meet all the minimum qualifications.

  2. 2

    Recruiter call

    20 to 30 minutes

    The recruiter covers your background, level, and location, and explains the loop. This is the most important call to get right as a frontend candidate. Several members were caught off guard because they assumed the screen would be pure algorithms and got a UI problem, or the reverse. Ask directly: “How many rounds are frontend-specific, and how many are general algorithms?” One member was told they could choose between an all-algorithms loop or two frontend rounds with the rest algorithms.

  3. 3

    Technical phone screen

    45 minutes, sometimes two

    Expect one or two problems in a shared Google Doc. Frontend screens reported by members cover timing utilities in vanilla JavaScript, DOM traversal, promise behavior, and async helpers. Other members got straight algorithms on arrays, graphs, intervals, or trees. One mid-level screen with an L5 engineer split roughly into 25 minutes of coding, 10 minutes of frontend performance discussion, and 10 minutes of behavioral questions.

    New grad candidates sometimes get two back-to-back screens with different engineers.

  4. 4

    Virtual onsite

    4 to 5 rounds, about 45 minutes each

    The onsite usually runs most of a day with a lunch break. Frontend members described mixes such as three algorithm rounds, one frontend round, and one Googleyness round, or three frontend rounds, one algorithm round, and one behavioral round. The mix can change last minute: two members had a planned frontend round swapped for an algorithm round, or the reverse, because of interviewer availability. Senior candidates often get a frontend system design round, sometimes scheduled as an extra round after the first five.

  5. 5

    Hiring committee

    1 week to 2 months

    Google says interview feedback, scores, your resume, and any references go to a hiring committee of Googlers who did not interview you. Speed varies a lot. One member passed committee a week after the onsite; another waited about two months for a decision. If an interviewer flagged a round as unreliable (for example, a scheduling mix-up), Google may add replacement rounds before the packet goes to committee.

  6. 6

    Team matching and offer

    Days to several weeks

    You talk with hiring managers whose teams have headcount. One member received four team match calls the same day they passed committee and had an offer within three days. Others were still waiting on a match weeks later. Some candidates report team matching before the committee review instead of after, so ask your recruiter which order applies to you.

03

How the Google frontend loop is different

Google hires most frontend engineers into the general Software Engineer ladder with a frontend specialization. That is why the loop looks like a standard SWE loop with frontend rounds layered on top. One member put it simply: even for frontend, most of the loop was algorithms, so don’t skip trees, dynamic programming, or graphs.

Round type What it tests Typical topics
Algorithms Problem solving, complexity analysis, clean code without running it Intervals, graphs, trees, dynamic programming
Frontend coding Vanilla JS, DOM APIs, async control flow, UI state Tree rendering, DOM traversal, timing utilities, promise orchestration
Frontend domain JavaScript internals and browser knowledge Event loop, rendering pipeline, caching, networking
System design Component architecture, state, data fetching, performance Reusable widgets, real-time collaboration, data-heavy dashboards
Googleyness and leadership Collaboration, ambiguity, mentoring, conflict Disagreeing with a manager, mentoring, an unpopular decision

A few more differences matter in practice:

  • No compiler. Most members coded in a Google Doc with no syntax highlighting and no way to run code. One member chose a whiteboard onsite after months of practicing by hand. Practice writing code you trust without executing it, then walk through it with an example.
  • Interviewer variance is high. Several members noted that the topic depends on the interviewer’s preference, and one had an interviewer use most of the time on small talk. Keep your opening short and steer toward the problem.
  • Frameworks are optional. Many UI rounds expect plain JavaScript, HTML, and CSS. Some interviewers let you pick vanilla JS, React, or Angular. Know how to build a component without a framework so the choice never blocks you.
  • Frontend roles are not all the same. UX Engineer interviews lean toward prototyping and visual problems, and Google X roles may involve a hiring manager interview with a TypeScript coding exercise. Confirm the role family with your recruiter.
04

Googleyness, the hiring committee, and how you’re scored

Google’s official guidance says every interview uses vetted questions and standardized rubrics, and that it does not use brainteasers. Interviewers assess four attributes:

  • General cognitive ability: how you learn and solve hard, unfamiliar problems.
  • Role-related knowledge: whether your skills fit the role. For frontend, this is where DOM, JavaScript, and browser depth shows up.
  • Leadership: stepping up and navigating challenges, regardless of title.
  • Googleyness: comfort with ambiguity, bias to action, and a collaborative nature.

Because a committee that never met you makes the decision, your interviewer’s written feedback is what counts. That changes how you should behave in the room:

  • Narrate your reasoning. The committee only sees what the interviewer wrote down. One interviewer explicitly emphasized verbalizing edge-case checks and writing self-tests.
  • Consistency beats one great round. One member who struggled in a single onsite round heard that one strong negative is very hard to overcome. Treat every round as equally important.
  • Finish, then optimize. Members who passed described getting a correct solution first, fixing small bugs on their own, then discussing complexity and optimizations.
05

Frontend coding questions Google candidates were asked

These prompts come from member reports across phone screens and onsites. Most are vanilla JavaScript, and almost all have a follow-up that extends the first answer.

Build a nested file explorer

L4 to senior, onsite frontend round

This is the most frequently reported Google frontend question. Given an array of files and directories, render a tree where directories expand and collapse, appear before files, and sort alphabetically within each group. Senior variants added lazy loading children on expand, a loading state for slow networks, keyboard navigation with role="tree" and aria-expanded, and a testing strategy. A mid-level variant asked you to return the tree as a ul and li HTML string.

Practice: File Navigation and Accessible File Tree.

Implement debounce and throttle from scratch

L4 and L5, phone screen

Several members were asked to write both in plain JavaScript. Follow-ups covered the trade-offs between them, how to unit test timing-based code, and in one L5 screen, a throttle problem that evolved into an event emitter. Handle this, arguments, and a trailing call.

Practice: Debounce I, Throttle, and Event Emitter.

Find elements without built-in DOM APIs

Phone screen and onsite

Return an element by id without getElementById, then all elements with a class without getElementsByClassName. One onsite extended it into a small querySelector: an id selector, then a class selector returning a list, then a descendant combination like #myNode .myClass. Another interviewer pushed for a queue-based traversal instead of recursion.

Practice: getElementsByClassName and querySelectorAll.

Return the highest-priority successful API response

L5, onsite

Given an ordered array of API URLs, call them all in parallel and return the result of the highest-priority request that succeeds. Reject only if every request fails. A strong answer resolves as soon as the top remaining candidate succeeds, rather than waiting for every request to settle.

Practice: Promise Methods and Settled Pool Map.

Retry an async call

Phone screen and onsite

Given a function with an unknown implementation, such as myFunction(args, onSuccess, onFail), write a retry wrapper. One member used a for loop around a callback-based API and said it was not well received. Callbacks don’t block, so recurse from the failure handler or wrap the call in a promise first.

Practice: API Retry and Promisify Any Function.

Asynchronous request queue

Phone screen

Implement a queue where requests run in the order they were added and each finishes before the next starts. A related prompt asked for a fetcher that allows only one request at a time. Both rely on closures to hold the queue and a running flag.

Practice: Asynchronous Request Queue.

setInterval and clearInterval without the built-ins

Onsite

Recreate both functions on top of setTimeout, keeping a map from your own ids to the current timeout handle. The same member’s frontend round was a task scheduler, which builds on the same ideas.

Practice: Set Interval with Linear Delay and ClearAllIntervals().

Generate a table with alternating column direction

Frontend round

Write createTable(rowCnt, colCnt) that builds an HTML table where numbers run down one column and up the next. Get the index math right on paper first, then build the DOM with createElement.

Practice: Number Grid Generator.

Vanilla UI widgets with state

Onsite frontend round

Members reported several small interactive builds in plain HTML, CSS, and JavaScript: circles rendered from an array of radii that wrap across lines, show their area on hover, and grow on click; four buttons that adjust the red, green, blue, and yellow values of a div; a hovercard that appears over a user’s name; a calculator keypad where each key press updates the display; and, in one older loop, a simple Google Doodle game. Keep state in one object and render from it, so follow-ups don’t require a rewrite.

Practice: Progress Bar and Tic Tac Toe.

Type-ahead search input

L4/L5, onsite practical round

Build an autocomplete input that fetches suggestions asynchronously. Interviewers looked for debouncing, ignoring stale responses, keyboard selection, and basic accessibility. The same prompt also appeared as a system design question for a senior candidate.

Practice: Autocomplete Search List.

06

Algorithm rounds in a Google frontend loop

Expect at least two algorithm rounds at the onsite, and possibly an algorithm phone screen. Members describe these as mostly medium to hard, rarely an exact LeetCode copy, and often framed in a real-world story. You can usually write them in JavaScript. These are the patterns that came up most:

Pattern Example members were asked Practice
Intervals and sweep line Build an on-call rotation table of non-overlapping intervals showing who is on call; minimum CPUs for a list of processes Fewest Booking Rooms
Trees Check whether two people are blood related (lowest common ancestor); select leaf nodes in a valid order BST Lowest Ancestor
Graphs Detect a cycle from directional point constraints; number of islands; union find Prerequisite Cycle Finder, Island Size Survey
Dynamic programming Count paths through a grid moving only down and right Robot Grid Routes
Stacks and parsing Valid parentheses; evaluate "1+(3-5)*7"; a postfix evaluator with assignment Locate Bracket Error
Hashing and counting Longest consecutive sequence; top K words in a log file Longest Consecutive Run, Top K Words
Grid search Word search variants with backtracking Trace Word Path
Object design A Battleship board with shoot and isShot, optimized to O(1) K-in-a-Row Game

The on-call rotation problem is a good example of the style. Collect every start and end point, sort them, and walk adjacent pairs while tracking who is active. Skip intervals where nobody is on call. Interviewers expect you to state complexity, here O(n log n) for the sort, before you are asked.

07

Trees everywhere: the DOM and file-tree pattern

Because trees appear in algorithm rounds, frontend rounds, and system design, it pays to have one traversal you can write from memory. Here is a class lookup that avoids recursion, which one interviewer specifically asked for:

function getElementsByClassName(root, className) {
  const result = [];
  const stack = [...root.children].reverse();

  while (stack.length > 0) {
    const node = stack.pop();
    if (node.classList.contains(className)) result.push(node);
    for (let i = node.children.length - 1; i >= 0; i--) {
      stack.push(node.children[i]);
    }
  }

  return result;
}

Three details to call out while you write it:

  • Document order. Pushing children in reverse means you pop them left to right, so results match the native API’s order.
  • The root is excluded. The native method only searches descendants, which is why the stack starts with the root’s children.
  • Stack vs queue. A stack gives depth-first order; swap it for a queue and you get breadth-first. Know both, since interviewers ask for one or the other.

The file explorer question reuses the same thinking. Sort each level before rendering, and render recursively:

function sortEntries(entries) {
  return [...entries].sort((a, b) => {
    if (a.type !== b.type) return a.type === "directory" ? -1 : 1;
    return a.name.localeCompare(b.name);
  });
}

For the senior version, add the parts members said interviewers probed: an expandedIds set instead of a flag on each node, a cache for lazily loaded children so collapsing and re-expanding doesn’t refetch, role="tree" and role="treeitem" with aria-expanded, arrow key navigation, and tests written with getByRole rather than test ids everywhere.

The same tree skills cover other prompts members reported: diffing the children of two DOM nodes, finding the first k characters inside an element, and merging class names by rules across a wrapper. Practice First DOM Difference and Traverse DOM for those.

08

JavaScript and browser questions Google asks

Some loops include a frontend domain round, and quick knowledge questions also show up at the start of coding rounds. Members reported these topics:

  • JavaScript core: closures, the event loop, microtasks vs macrotasks, var vs let and const and the temporal dead zone, and predicting the output of promise snippets. One phone screen opened with why 3 > 2 > 1 is false.
  • Browser internals: parsing HTML into the DOM and render tree, the critical rendering path, code splitting and lazy loading, preload vs prefetch, and event capturing and bubbling.
  • Networking and caching: HTTP caching, service workers, cache invalidation, HTTP/1.1 vs HTTP/2 vs HTTP/3, CORS, and the same-origin policy.
  • Real-time: WebSockets for chat, with Server-Sent Events and long polling as fallbacks.
  • React: why a component renders twice in development (Strict Mode), useEffect vs useLayoutEffect, and two ways to cut initial paint time for a 10,000-row list, such as virtualization and code splitting.
  • Heavy computation: one UX Engineer candidate was asked how to keep the page responsive while crunching a large dataset for charts. The expected answer was moving the work to a Web Worker.

Review these with the trivia questions, the Web Protocols Cheat Sheet, and Core Web Vitals.

09

Google frontend system design questions

Members at L5 and above consistently got a frontend system design round, and some L4 candidates did too. Interviewers focused on component breakdown, state management at scale, API contracts, rendering and network performance, and caching.

Type-ahead widget

L5, extra onsite round

Design a reusable search suggestion component. Strong answers cover debouncing, cancelling or ignoring stale requests, a client-side cache keyed by query, keyboard and screen reader support, and how the widget is configured by different product teams.

Study: Design Auto Complete Search.

Real-time collaborative document editor

L4/L5, onsite

Think Google Docs. Cover the document model, how concurrent edits merge (operational transforms or CRDTs at a high level), presence and cursors, offline edits, and how you keep typing responsive on large documents.

Study: Design a Collaborative Editor.

Shared storage usage monitor

Senior, onsite

Drive, Photos, and Gmail share one storage quota. Design a UI that shows usage per product and notifies users when they run low. Discuss where usage data comes from, how fresh it needs to be, thresholds and notification channels, and how to avoid nagging users.

Study: Design a Notification Center.

Paginated stock market dashboard

L4, phone screen

Display paginated market data and explain caching and refetching. Interviewers asked how you’d structure React components, manage state, and keep the dashboard scalable. Talk about stale-while-revalidate, polling vs push, and preserving the user’s page and sort when data updates.

Study: Design Robinhood.

Status of one million online players

Onsite

One member spent 45 minutes on this and didn’t pass because they hadn’t prepared for system design. The core is list virtualization: render only visible rows, measure scroll position with scrollTop and scrollHeight or an observer, and stream status updates without re-rendering the whole list.

Study: Design a Virtualized Grid.

News feed

Senior, onsite

A Facebook-style feed came up in one senior loop. Cover pagination with cursors, infinite scroll, normalized post data, optimistic interactions, and image loading.

Study: Design Facebook Newsfeed.

10

Behavioral interview at Google

The Googleyness and leadership round looks like a standard behavioral interview, but members say every answer gets follow-ups. One member mentioned an opinion about their team’s stack and was immediately asked what they were unhappy with. Prepare stories with enough detail to survive two or three “why” questions.

Questions members were asked:

  • Tell me about working in cross-functional teams.
  • Describe a challenge on a past project and how you handled it.
  • How do you mentor others, and how do you balance mentoring with your own technical work?
  • Tell me about a time you disagreed with your manager or a coworker.
  • Tell me about a decision that was unpopular with your team and how you handled push-back.
  • What would you do if a teammate didn’t want to join a team-building event?
  • Describe the most impactful project you’ve worked on.

Map each story to an attribute Google names: ambiguity, bias to action, collaboration, or leadership without authority. Practice with the behavioral interview questions.

11

What changes by level

The question style is similar across levels, but the round mix and the bar shift. Your level can also be adjusted after the loop, so a strong system design round matters if you’re targeting L5.

Signal L3 (new grad) L4 (mid-level) L5 (senior)
Phone screen Algorithms, sometimes two screens Algorithms or JavaScript utilities JavaScript utilities with deeper follow-ups
Frontend rounds Often zero or one One or two: trees, DOM, async One or two, plus accessibility and testing depth
System design Rare Sometimes Expected
Behavioral Teamwork and learning Ownership and conflict Mentoring, cross-team influence, push-back
12

How to prepare for the Google frontend interview

Split your time between algorithms and frontend. Members who failed most often under-prepared for one side: frontend specialists who only practiced UI got stuck on graphs, and others who only ground LeetCode were surprised by a UI round.

Four-week plan

Week Focus Practice
1 Trees and graphs Traverse DOM, Prerequisite Cycle Finder, Network Cluster Sizes
2 Intervals, stacks, DP, and JavaScript utilities Fewest Booking Rooms, Debounce I, Throttle, API Retry
3 DOM and vanilla UI querySelectorAll, File Navigation, Autocomplete Search List
4 System design, behavioral, mocks Auto Complete Search, Collaborative Editor, three Googleyness stories

Throughout all four weeks:

  • Write every solution in a plain Google Doc at least once a week, without running it.
  • Time yourself to 45 minutes, and reserve the last 10 for testing by hand and complexity.
  • State edge cases out loud before coding: empty input, duplicates, a single node, deeply nested trees.

Browse every coding question tagged Google, and use the study plans if you want a day-by-day schedule.

13

Google frontend interview FAQ

How long is the Google frontend interview process?

Plan for six to twelve weeks. Members reported onsites two to three weeks after the phone screen, and hiring committee decisions ranging from one week to about two months. Team matching can add more time after that.

Does Google ask LeetCode questions for frontend roles?

Yes. Most members had at least two algorithm rounds, covering trees, graphs, intervals, dynamic programming, and stacks. Questions are often variants rather than exact LeetCode problems.

Can I use React in Google frontend interviews?

Sometimes. Many frontend rounds expect vanilla JavaScript, HTML, and CSS, while some interviewers let you choose React or Angular. Prepare to build components without a framework, and confirm with your recruiter.

Can I run my code during a Google interview?

Usually not. Most members coded in a shared Google Doc or a plain editor without execution, and onsite candidates may get a whiteboard option. Test your code by walking through an example out loud.

What is the Googleyness interview?

It’s the behavioral round. Google looks for comfort with ambiguity, bias to action, and collaboration, along with leadership. Expect questions about disagreements, mentoring, and cross-functional work, each with detailed follow-ups.

Is there system design in a Google L4 frontend interview?

It varies. System design is expected at L5 and above. Some L4 members got a frontend system design discussion, so prepare at least one design end to end.

What happens after the Google onsite?

Your interview feedback goes to a hiring committee that decides whether to move forward. If approved, you talk with teams that have headcount, and an offer follows a successful match.