Google Data Scientist Interview Questions

Google Data Scientist interview questions focus on rigorous statistical thinking, product-driven analysis, and practical data engineering skills. What’s distinctive about interviewing for a Data Scientist at Google is the combination of deep quantitative evaluation (hypothesis testing, causal inference, model evaluation), hands-on SQL/Python problem solving, and product intuition tied to measurable business metrics. Interviewers typically evaluate statistical rigor, experimental design, coding clarity, the ability to translate analysis into product decisions, and “Googleyness” — collaboration, ownership, and clear communication. Strong interview preparation centers on rehearsing technical fundamentals and concise storytelling of impact. Expect a short recruiter screen, one or more technical screens (SQL, statistics, coding), then a multi-interview loop of 3–5 sessions that mix statistics, applied analysis/product case work, coding/SQL tasks, and behavioral questions; successful candidates then go through a hiring-committee review and team-matching. To prepare, practice timed SQL and Python exercises, refresh core statistical concepts and A/B testing design, rehearse product-metrics case studies, and develop crisp STAR-style stories that quantify impact. Mock interviews and explaining reasoning aloud often yield the best gains.

146 Questions 1 Company05.28.2026
Showing 20 results
Role
Google logo
Google
Medium
Data Scientist

Implement Sampling and Minimize Loss in Numerical Coding

Scenario Numerical coding challenges on sampling and loss minimization. Question a) Implement functions to sample from truncated normal distributions ...

Coding & Algorithms
24
0
92 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Determine If Two Strings Are Anagrams Efficiently

Scenario Backend service needs to verify whether two user-provided strings are anagrams for text-matching features. Question Implement a Python functi...

Coding & Algorithms
12
0
49 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Design Scalable Database and Analyze E-commerce Data

transactions +-----------+----------+------------+------------+ | user_id | order_id | product_id | order_time | +-----------+----------+-----------...

Data Manipulation (SQL/Python)
68
0
253 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Implement sampling and subarray scan

A coding interview included the following algorithm questions: 1. You are given access to a function rand01() that returns an independent sample from ...

Coding & Algorithms
4
0
56 people solved
Feb 5, 2025
Google logo
Google
Easy
Data Scientist

Count super-streak segments in an event stream

You are given a time-ordered sequence of events. Each event has: - type, a string or integer event type. - ts, an integer timestamp in milliseconds or...

Coding & Algorithms
12
0
92 people solved
Jan 2, 2025
Google logo
Google
Easy
Data Scientist Locked

Build next-word predictor with O(1) lookup

This question evaluates skills in language modeling, data structures, algorithmic optimization, and probabilistic sampling, within the Coding & Algori...

Coding & Algorithms
4
1
43 people solved
Feb 2, 2026
Google logo
Google
Medium
Data ScientistSenior+

Implement Fibonacci with efficiency constraints

Write a function fib(n) that returns the nth Fibonacci number (0-indexed: fib(0)=0, fib(1)=1). Requirements: - Handle n up to at least 10^6. - Discuss...

Coding & Algorithms
6
0
56 people solved
Nov 24, 2025
Google logo
Google
Easy
Data Scientist

Match payments to invoices by memo or amount

Scenario You are building a small reconciliation tool that matches payments to invoices. Data structures Assume you are given: - invoices: a list of i...

Coding & Algorithms
8
0
57 people solved
Oct 25, 2025
Google logo
Google
Medium
Data Scientist

Match payments to invoices by memo or amount

You are building a small payment-to-invoice matching utility. Data You are given: - invoices: a list of invoice records with: - invoice_id (string) ...

Coding & Algorithms
5
0
51 people solved
Oct 19, 2025
Google logo
Google
Medium
Data Scientist

Implement percentage RMSE and bootstrap its CI

Given a CSV with columns [country, actual_revenue, predicted_revenue], define percentage RMSE as pRMSE = sqrt(mean_i((pred_i/actual_i − 1)^2)). a) Imp...

Coding & Algorithms
6
0
49 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Compute precision–recall curve on imbalanced data

You receive a CSV with columns: actual_label ∈ {0,1} and predicted_prob ∈ [0,1]; the positive class rate is ≈5%. a) Which evaluation metrics would you...

Coding & Algorithms
10
0
82 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Generate binomial matrix and column-normalize

Using Python with NumPy, generate a 100×100 matrix of Binomial(n = 10, p = 0.3) draws with a fixed random seed, then normalize each column so it sums ...

Data Manipulation (SQL/Python)
0
0
5 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Analyze video flags and reviews with SQL

You are designing SQL queries for YouTube Trust & Safety. Use the schema and sample data below. Unless stated otherwise, treat a flag as reviewed if t...

Data Manipulation (SQL/Python)
28
2
244 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Write SQL/Python for messy event data

Using the schema and sample data below, write: (1) a single SQL query to compute daily metrics for the local date 2025-09-01 in America/Los_Angeles, a...

Data Manipulation (SQL/Python)
3
0
27 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Add a conditional column in Python

Using pandas, add a derived column to a table based on multiple conditions with strict precedence and missing-value handling. Given the sample DataFra...

Data Manipulation (SQL/Python)
0
0
5 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Implement longest subarray summing to k

Given an integer array nums (length ≤ 200,000; values may be negative) and integer k, return the maximum length and the [l, r] indices of a contiguous...

Coding & Algorithms
8
0
68 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Compute monthly CRR with merges and gaps

You are given PostgreSQL tables user_profile(user_id, signup_ts, country, is_employee, is_test), user_events(user_id, event_ts, event_type, revenue, p...

Data Manipulation (SQL/Python)
10
0
131 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Deduplicate events and rank products with SQL

You are given two tables. Schema: - events(event_id INT PRIMARY KEY, user_id INT, product_id INT, event_time TIMESTAMP, idempotency_key TEXT, amount_c...

Data Manipulation (SQL/Python)
1
0
10 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Implement R dplyr simulation and left join

Using R and dplyr, run a simulation and a join. Data: prices item_id | price_usd 1 | 10.00 2 | 20.00 3 | 30.00 4 | 40.00 catalog item_id | category 1 ...

Data Manipulation (SQL/Python)
0
0
8 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Calculate Top Countries' Gmail Usage and MoM Change

emails +----+---------+-----------+-----------+------------+ | id | user_id | country | provider | send_date | +----+---------+-----------+-------...

Data Manipulation (SQL/Python)
0
0
4 people solved
Aug 4, 2025

Frequently Asked Questions

How difficult are Google Data Scientist interview questions?
Google Data Scientist interview questions are generally rigorous and breadth-oriented: they test practical data manipulation, statistical reasoning, and product intuition rather than only algorithmic trickery. Difficulty varies by level and team—analytics/product-focused roles emphasize SQL and experimentation while ML-heavy roles expect deeper modeling knowledge. Interviews commonly require live SQL or Python work, on-the-spot experimental design, and clear explanation of assumptions and trade-offs. Candidates who can combine clean technical answers with concise, impact-focused storytelling usually perform markedly better, so perceived difficulty often comes down to preparation and the ability to communicate results under time pressure.
What is the typical Google interview process and where do Data Scientist topics appear?
The standard process usually begins with a recruiter screen, followed by one or more technical screens, and then a multi-interview onsite or virtual loop. Data-science topics commonly appear across several stages: the technical screen typically assesses SQL, basic statistics, and coding; the onsite loop includes dedicated interviews for advanced SQL and data manipulation, experimentation and statistics, machine learning/modeling if relevant to the team, product-metrics or case-style problems, plus a behavioral interview. After interviews, feedback goes to a hiring committee and then team matching. Expect each technical round to probe both correctness and the ability to explain and defend decisions.
How long should I prepare for Google Data Scientist interviews?
Preparation time depends on your baseline skills but a structured 6–12 week plan is common and effective. Early weeks should refresh fundamentals—SQL, core statistics, and Python/pandas—while middle weeks focus on hands-on practice with live query problems, experimental design case studies, and basic modeling. The last few weeks are best used for mock interviews, timed practice, and polishing project stories with clear metrics and impact. If you already use SQL and statistics daily, a focused 4–6 week ramp-up may suffice; if you’re switching fields, plan for the longer end of the range.
Which key subtopics should I focus on for Google Data Scientist interviews?
Concentrate on a mix of applied and theoretical areas: SQL mastery (joins, aggregations, window functions, CTEs and handling NULLs) and data-wrangling with pandas; core statistical concepts such as hypothesis testing, confidence intervals, power analysis, and common pitfalls like multiple comparisons; experimental design and metric choice for product A/B tests; basic machine learning concepts including model evaluation, bias-variance trade-offs, and feature engineering; and product/metrics reasoning—defining, decomposing, and diagnosing changes in KPIs. Equally important are clear communication and the ability to justify assumptions and trade-offs in real-world contexts.
What standout tips will help me succeed, and what common pitfalls should I avoid?
Standout tips include framing answers quickly with a clear structure, clarifying ambiguous requirements, verbalizing assumptions, and connecting technical steps to measurable product impact. During live SQL or coding, write readable, testable queries and consider edge cases; in experiment questions, define metrics, specify hypotheses, and discuss power and practical constraints. Common pitfalls are failing to defend metric choices, ignoring biases and confounders, producing correct but unoptimized or unreadable queries, and poor communication of uncertainty. Practicing mock interviews and rehearsing two strong project stories with quantified outcomes will reduce these mistakes and sharpen delivery.

Explore more Google Data Scientist interview questions

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

By category
Other roles at Google
Data Scientist questions at other companies
Browse all