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 Engineer Locked

Generate all subsets (handle duplicates)

This question evaluates understanding of power-set generation and handling of duplicate elements, measuring competency in combinatorics, enumeration t...

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

Maximize 1D deliveries within distance and minimize total distance

This question evaluates combinatorial optimization and constrained matching skills, focusing on reasoning about distance-based pairings, lexicographic...

Coding & Algorithms
7
0
81 people solved
Dec 27, 2025
Google logo
Google
Hard
Software Engineer

Shuffle array using random integer API

You are given an array nums of length n representing a deck of distinct cards. You do not have access to a built-in shuffle function, but you are give...

Coding & Algorithms
6
0
79 people solved
Dec 8, 2025
Google logo
Google
Hard
Software Engineer

Find longest duplicated substring

You are given a string s consisting of lowercase English letters. A substring of s is any contiguous sequence of characters, i.e., s[i..j) for 0 ≤ i <...

Coding & Algorithms
10
0
141 people solved
Dec 8, 2025
Google logo
Google
Easy
Software Engineer

Find largest digit-sharing subset

You are given an array of N integers. Each integer has exactly two decimal digits (i.e., each element is between 10 and 99 inclusive). You want to cho...

Coding & Algorithms
10
0
112 people solved
Dec 8, 2025
Google logo
Google
Easy
Software Engineer

Maximize coins with tokens moving by +3

You are given a 1D board represented by a string s of length n. Each character is one of: - '.' — an empty cell - 'C' — a cell containing exactly one ...

Coding & Algorithms
21
2
203 people solved
Dec 5, 2025
Google logo
Google
Hard
Software Engineer

Count same-color squares in a character grid

You are given a 2D grid (matrix) of characters. Each character represents a color: cells with the same character are considered the same color. Formal...

Coding & Algorithms
13
1
157 people solved
Nov 22, 2025
Google logo
Google
Medium
Software Engineer

Find mode in a trinary search tree

You are given the root of a trinary search tree where each node has up to three children: `text class Node { int val; Node left; // all values ...

Coding & Algorithms
12
0
135 people solved
Nov 16, 2025
Google logo
Google
Medium
Software Engineer

Compute servers needed for daily recurring jobs

You operate a cluster of identical servers that run recurring daily jobs. For a single day, you are given a list of job execution intervals. Each inte...

Coding & Algorithms
15
0
144 people solved
Nov 5, 2025
Google logo
Google
Medium
Software Engineer

Minimize calls to find all bad test pairs

You have \(n\) atomic tests \(t_1, t_2, \dots, t_n\). You are given access to a black-box function: `python bool runTest(set<Test> S) ` which behaves ...

Coding & Algorithms
13
0
140 people solved
Nov 5, 2025
Google logo
Google
Medium
Software Engineer

Find shared objects across two log files

You are given two large log files representing activity on two different days. Each line of each log has three fields: - timestamp: a time value (you ...

Coding & Algorithms
6
0
79 people solved
Nov 5, 2025
Google logo
Google
Easy
Software Engineer

Find right-side view of binary tree

You are given the root of a binary tree. From the right side of the tree, at each depth you can see exactly one node: the rightmost node at that depth...

Coding & Algorithms
6
0
63 people solved
Nov 1, 2025
Google logo
Google
Easy
Software Engineer

Compute max coins with 3-step token moves

You are given a one-dimensional board with n positions represented by a string s of length n: - . = empty cell - T = token - C = coin You may move tok...

Coding & Algorithms
22
0
151 people solved
Oct 16, 2025
Google logo
Google
Medium
Software Engineer

Count user sessions from logs

Given a large log file where each line is "timestamp,user,action", compute the number of sessions per user. Assume a session ends if the gap between c...

Coding & Algorithms
11
0
82 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Optimize 0/1 to bounded knapsack DP

Solve the 0/1 knapsack problem: given arrays weight[i], value[i] for i=0..n-1 and capacity W, return the maximum value and reconstruct one optimal set...

Coding & Algorithms
5
0
89 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Find minimum covering substring

Given two strings s and t, return the shortest contiguous substring of s that contains every character of t with at least the same multiplicities. If ...

Coding & Algorithms
6
0
81 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Find horizontal cut balancing square areas

Given a 2D table with top-left origin (0, 0), you are provided a finite set of n non-overlapping, axis-aligned square cakes. Each square i has real-va...

Coding & Algorithms
3
0
43 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Maximize coins collected by 3-step pieces

You are given a 1D board of length N. Each cell is in one of three states: - Empty - Piece (a movable token) - Coin (collectible) In one move, you may...

Coding & Algorithms
4
0
71 people solved
Sep 5, 2025
Google logo
Google
Medium
Software Engineer

Implement zigzag level-order traversal

Given the root of a binary tree, return the node values in zigzag level order: visit nodes level by level, reading the first level from left to right,...

Coding & Algorithms
7
1
61 people solved
Aug 1, 2025
Google logo
Google
Medium
Software Engineer

Parse strings and find meeting slots

Question Given a text file where each line contains raw information, extract the user identifier and the numeric quantity on that line and store the r...

Coding & Algorithms
31
0
61 people solved
Jul 29, 2025

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