SDE2 Interview Questions at Google

Published July 22, 2026 · Updated July 22, 2026

10 real SDE2 interview questions asked at Google. Covers Technical, System Design, Screening, Scenario rounds. Sourced from engineers who cleared the loop.

10 questions
622 upvotes
Rounds: 4
Top topic: system-design

Interview Signals — What Google Asks SDE2s

Frequently Asked Topics
system-design3x
dsa2x
trees1x
graphs1x
domain1x
Interview Rounds
Technical4q
System Design3q
Screening2q
Scenario1q
Experience Level
3-6 years2q
5-8 years1q
4-8 years1q
4-7 years1q

All SDE2 Questions Asked at Google

Google Medium Technical round JavaC++Python

Given a binary tree, return the boundary of the tree in anti-clockwise direction starting from the root. The boundary consists of the left boundary, leaves, and the right boundary in reverse.

↑ 96 upvotes · 31 engineers asked this · SDE2
Google Hard System Design round Distributed SystemsRedis

Design Google Search autocomplete. As a user types "wea", suggest "weather", "weather today", "weather London". Cover: trie vs inverted index, personalisation, freshness, latency budget (<100ms), and how you handle offensive query suggestions.

↑ 79 upvotes · 55 engineers asked this · SDE2
Google Hard System Design round Distributed SystemsKafkaGCP

Design Google Maps ETA calculation. How do you compute the fastest route for 1B+ users in real time? Cover: graph representation of road network, Dijkstra vs A* vs Contraction Hierarchies, live traffic data ingestion, and how you handle road closures.

↑ 72 upvotes · 48 engineers asked this · SDE2
Google Hard Screening round 5-8 years

Explain how React's reconciliation algorithm decides what to re-render. A senior dev claims 'adding a key prop always makes things faster.' Is he right?

↑ 62 upvotes · 30 engineers asked this · SDE2
Google Medium Screening round 3-6 years

Explain gRPC vs REST API. When would you choose gRPC?

↑ 62 upvotes · 10 engineers asked this · SDE2
Google Hard Technical round JavaPythonGo

Implement a topological sort for a directed acyclic graph. Then extend it to detect cycles and explain how this maps to dependency resolution in build systems like Bazel.

↑ 61 upvotes · 38 engineers asked this · SDE2
Google Hard Technical round JavaScriptNode.js

Explain how a browser renders a web page from the moment the user presses Enter. Cover: DNS resolution, TCP handshake, HTTP request, HTML parsing, CSSOM, render tree, layout, paint, and compositing. Where would you optimise for Core Web Vitals?

↑ 58 upvotes · 35 engineers asked this · SDE2
Google Hard System Design round 4-7 years

How would you design and implement an autocomplete system? Focus on the data structure and ranking.

↑ 56 upvotes · 34 engineers asked this · SDE2
Google Hard Scenario round 4-8 years

Your gRPC service has p99 latency of 1 second. Adding a timeout of 500ms seems to help p99 but now 1% of requests fail with DeadlineExceeded. What's the correct approach?

↑ 48 upvotes · 6 engineers asked this · SDE2
Google Hard Technical round 3-6 years

Implement a trie data structure. Your implementation must support: insert, search, and startsWith. Then optimize space for a dictionary with 1 million words.

↑ 28 upvotes · 36 engineers asked this · SDE2

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

Other companies hiring SDE2s

Amazon SDE2 questions Microsoft SDE2 questions Flipkart SDE2 questions Infosys SDE2 questions TCS SDE2 questions Swiggy SDE2 questions

More at Google

All Google questions Google interview process Prepare for Google

Frequently asked questions

What topics does Google ask SDE2s?
Common topics: system-design, dsa, trees, graphs, domain.
What rounds are there in Google SDE2 interview?
Reported rounds: Technical, System Design, Screening, Scenario.
What experience level does Google hire SDE2s at?
Most reported experience: 3-6 years.