Google Software Engineer Interview Questions

Google Software Engineer interview questions typically test core algorithmic problem solving, clean coding under time pressure, and — for mid-to-senior levels — system design and scalability thinking. The process is multi-stage: a recruiter screen followed by one or two timed technical screens (often live coding on a shared Google Doc), then a virtual or onsite loop with several 45-minute interviews that mix coding, design (L4/L5+), and behavioral “Googleyness” assessments. Interviewers evaluate general cognitive ability, role-related technical depth, leadership, and culture fit, and candidates should expect iterative feedback and a hiring-committee review before team matching. ([leetcopilot.dev](https://leetcopilot.dev/blog/google-coding-interview-guide-2026?utm_source=openai)) For interview preparation focus on timed practice of data-structures and algorithms, simulate coding on Google Docs, and prepare concise STAR-style stories that show impact and collaboration; senior candidates must add targeted system-design drills that discuss trade-offs, reliability, and scaling. Allow several weeks of structured practice, rehearse clear verbal explanations, and be ready to ask clar

301 Questions 1 Company08.01.2026
Showing 20 results
Role
Google logo
Google
Medium
Software EngineerNew Grad

Implement an LRU cache

Design a key-value cache with a fixed capacity. It must support: - get(key): return the value for the key if it exists, otherwise return -1. - put(key...

Coding & Algorithms
3
0
40 people solved
Feb 24, 2026
Google logo
Google
Medium
Software Engineer

Determine Reporting Relationships

Build an in-memory organization model that supports three operations on employee IDs: 1. add_manager(a, b): employee a is the direct manager of employ...

Coding & Algorithms
3
0
39 people solved
Feb 22, 2026
Google logo
Google
Medium
Software EngineerNew Grad

Design Tic-Tac-Toe With K Players

Design and implement a Tic-Tac-Toe game engine. You are given: - k players, each with a unique player ID or mark. - An n x n board, initially empty. -...

Coding & Algorithms
3
0
20 people solved
Feb 12, 2026
Google logo
Google
Medium
Software Engineer Locked

Find cheapest common ancestor in a tree

This question evaluates understanding of tree data structures and ancestor concepts (such as lowest common ancestor) along with algorithmic skills for...

Coding & Algorithms
18
1
132 people solved
Feb 12, 2026
Google logo
Google
Medium
Software Engineer Locked

Check pivot after removing one element

This question evaluates array-manipulation skills, cumulative-sum/prefix-sum reasoning, and robustness in handling negative values and duplicates, tes...

Coding & Algorithms
8
0
141 people solved
Feb 12, 2026
Google logo
Google
Easy
Software Engineer Locked

Build a next-word frequency predictor

This question evaluates understanding of data structures and algorithms for frequency counting and associative lookups, including preprocessing-versus...

Coding & Algorithms
38
1
272 people solved
Feb 12, 2026
Google logo
Google
Medium
Software Engineer

Compute minimum number of rooms needed

Problem You are given a list of meetings, each with a start time and end time. A single room can host only one meeting at a time. Two meetings overlap...

Coding & Algorithms
25
1
398 people solved
Feb 12, 2026
Google logo
Google
Medium
Software Engineer Locked

Min deletions to avoid overlap in first k

This question evaluates array and sequence manipulation skills, set-based reasoning about value overlap, and the ability to compute minimal edits whil...

Coding & Algorithms
20
0
342 people solved
Feb 12, 2026
Google logo
Google
Medium
Software Engineer

Validate parent array forms a tree

Problem You are given an integer array parent of length n describing a directed parent pointer for each node i (nodes are labeled 0..n-1). - parent[i]...

Coding & Algorithms
13
1
160 people solved
Feb 11, 2026
Google logo
Google
Medium
Software Engineer Locked

Detect and remove matched words in a char stream

This question evaluates understanding of online stream processing, substring matching, and the use of efficient data structures and algorithms for rea...

Coding & Algorithms
35
0
238 people solved
Feb 7, 2026
Google logo
Google
Easy
Software Engineer

Implement Batched Undo/Redo Layer

You are implementing a simplified document layer for a design tool. The layer stores properties as a map<string, string>. Implement a class that suppo...

Coding & Algorithms
7
0
57 people solved
Feb 4, 2026
Google logo
Google
Hard
Software Engineer

Implement Longest-Match Text Replacement

You are given a text string and a dictionary of replacement entries. Each dictionary entry has the form token:id, where token is a string pattern and ...

Coding & Algorithms
5
0
30 people solved
Jan 20, 2026
Google logo
Google
Hard
Software Engineer Locked

Find best-matching binary pattern with wildcards

This question evaluates pattern-matching and string-algorithm skills, including handling wildcards and variable-length matches, priority-based rule se...

Coding & Algorithms
10
0
114 people solved
Jan 15, 2026
Google logo
Google
Medium
Software Engineer

Find top/bottom-k words in list or stream

You are given words (strings) either as a finite list or as an unbounded stream. 1) List version: Given an array words and an integer k, return: - the...

Coding & Algorithms
14
0
141 people solved
Jan 11, 2026
Google logo
Google
Hard
Software Engineer Locked

Return top-k subset sums in descending order

This question evaluates proficiency in combinatorial reasoning, algorithmic optimization for large search spaces, and efficient extraction of top-k va...

Coding & Algorithms
15
0
116 people solved
Jan 7, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Design a logger that returns top-K messages

This question evaluates skills in designing in-memory data structures and algorithms for frequency counting and interval querying, including extractin...

Coding & Algorithms
8
0
76 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Find shortest subarray with at least k distinct

This question evaluates proficiency in array manipulation, frequency counting, and efficient tracking of distinct values within contiguous subarrays, ...

Coding & Algorithms
5
0
70 people solved
Jan 6, 2026
Google logo
Google
Medium
Software EngineerIntern Locked

Find shortest subarray with ≥k distinct integers

This question evaluates understanding of array algorithms, handling of distinct-element counting, and the ability to design time- and space-efficient ...

Coding & Algorithms
5
0
40 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Answer parity-alternation range queries

This question evaluates a candidate's ability to reason about array properties and design efficient range-query processing for alternating-parity suba...

Coding & Algorithms
9
0
77 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Find median of merged RLE arrays

The question evaluates understanding of run-length encoding, order-statistics (median) computation, and efficient merging of frequency-annotated seque...

Coding & Algorithms
12
0
167 people solved
Jan 6, 2026

Frequently Asked Questions

How difficult are Google Software Engineer interview questions?
Google Software Engineer interview questions are typically challenging and focus on problem-solving under time pressure. Interviewers commonly evaluate algorithmic thinking, correctness, complexity analysis, and clear communication rather than memorized solutions. Difficulty varies by level: entry-level roles emphasize core data structures and coding fluency, while mid-to-senior levels include harder algorithmic problems and system-design trade-offs. Expect many problems to fall in the medium-to-hard range on public practice platforms, with follow-ups that push optimization or edge-case handling. Success usually depends on rigorous practice, clear explanation of trade-offs, and demonstrating the ability to recover and iterate when given hints.
What is the typical Google Software Engineer interview process and where do software-engineering topics appear?
A typical Google Software Engineer process begins with a recruiter screen and one or more technical phone or online coding screens, then advances to a multi-session onsite or virtual onsite loop. Software-engineering topics appear throughout: coding interviews assess algorithms, data structures, and complexity; behavioral rounds probe collaboration and leadership (often called “Googliness”); and for more senior roles you’ll see system-design interviews that evaluate architecture, scalability, and trade-offs. Teams may also request an online assessment or take-home exercise for certain roles. The process often concludes with team matching and a hiring-committee review.
How long should I prepare for Google Software Engineer interviews and what timeline works best?
Preparation time depends on background and target level, but a structured plan over six to twelve weeks is common for most candidates. Early weeks should reinforce fundamentals—arrays, trees, graphs, hash tables, and complexity—while middle weeks should emphasize timed problem sets and mock interviews to build speed and communication. If you’re targeting L4 and above, reserve additional weeks for system design and architecture. Integrate behavioral story preparation and resume-deep-dive practice throughout. Shorter, intensive sprints can work for experienced candidates with regular practice; consistent, deliberate practice beats last-minute cramming.
What key subtopics should I focus on for a Google Software Engineer interview?
Focus on algorithmic fundamentals and their practical application: arrays and strings, trees and graphs, dynamic programming, greedy strategies, hash-based techniques, and sorting. Develop strong complexity reasoning and be comfortable with edge-case handling, correctness proofs, and incremental optimizations. For mid-to-senior roles, add system-design fundamentals—API definition, data modeling, storage choices, caching, sharding, consistency models, load balancing, and reliability trade-offs. Also practice writing clean, testable code in a plain editor, debugging on the fly, and explaining trade-offs clearly; behavioral skills and clear storytelling about past projects are evaluated alongside technical depth.
What standout tips should I follow and what common pitfalls should I avoid during Google Software Engineer interviews?
Standout tips include clarifying requirements before coding, speaking your thought process clearly, writing a correct baseline solution first, and iteratively improving it while discussing trade-offs. Practice coding in a plain editor or Google Docs to mirror the interview environment, and run through mock interviews under timed conditions. For system design, structure your approach from requirements to API and data model before discussing scalability and failure modes. Common pitfalls are jumping into code without clarifying constraints, ignoring edge cases or complexity, failing to test examples aloud, and treating interview problems like puzzles instead of engineering tasks. Prepare behavioral STAR stories tied to measurable impact.

Explore more Google Software Engineer interview questions

Real questions from candidate reports, grouped by topic, role and company.

By category
Other roles at Google
Software Engineer questions at other companies
Browse all