Google Coding & Algorithms Interview Questions
Practice 461 real Google interview questions for 2026 — Google interview questions that cover Coding & Algorithms, Behavioral & Leadership, Analytics & Experimentation, Machine Learning, and Statistics & Math across Software Engineer, Data Scientist, Machine Learning Engineer, and Product Manager roles. Real questions from actual interviews with detailed solutions tailored for interview preparation and role-specific skill building. Expect coding-heavy rounds and design-focused conversations first, then analytics and behavioral assessments that probe impact, collaboration, and "Googleyness." For Software Engineer candidates this collection emphasizes string and substring matching, memory-efficient undo/redo and batched state operations, graph/time-series connectivity and queue problems, plus scaling for huge inputs and behavioral scenarios about teamwork and ambiguity. Data Scientist questions repeat themes in causal and unbiased upgrade experiments, bootstrap inference and percentile estimation from buckets, sampling and subarray algorithms, and sequence analytics. Machine Learning Engineer prompts focus on LLM lifecycle and trade-offs, recommendation and cold-start ranking strategies, weighted sampling and search, and building chatbots over mixed structured/unstructured data. Product Manager items center on Google Maps/Android product ideation, real-time data throughput and estimation, market sizing, and explaining technical tradeoffs to non-technical stakeholders. Use targeted coding practice, mock design interviews, experiment design drills, and concise STAR stories for best results.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Navigate conflict, difficult people, and culture issues
Answer the following behavioral questions with clear examples (preferably using the STAR method: Situation, Task, Action, Result). Be explicit about y...
Simulate In-Place Cellular State Updates
You are given an m x n grid of cells, where each cell is either 0 for inactive or 1 for active. All cells update simultaneously according to these rul...
Handling Unclear Communication
Behavioral: Clarifying Names/Questions in Remote Meetings Context You are in a remote or hybrid meeting (e.g., a phone screen or cross-functional sync...
Describe a major challenge you faced
In a behavioral interview for a software engineering or technical role, you are asked: > Describe the most significant challenge you have faced in an ...
Handle Teammate Who Feels Pressured
An interviewer asks: suppose one of your teammates is often underperforming and tells others that your pace and work style make them feel pressured. H...
Identify and Fix Predictive Model Performance Gaps
Model Review: Month Encoding, Feature Scaling, and Imbalanced Data Context You are auditing an existing predictive model for operational performance. ...
Walk resume and tackle hypotheticals
Resume Deep‑Dive and Leadership Hypotheticals (Software Engineer Onsite) Context You are asked to walk through two impactful projects from your resume...
Design relational-to-NoSQL migration pipeline
System Design: Migrate From Relational DB to a NoSQL Key-Value Store with Snapshot + CDC Context You need to migrate data from an OLTP relational data...
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...
Solve matrix groups and recipe inventory
Problem 1: Find the smallest 3×3 group in a matrix You are given an m × n 2D integer array grid. - Partition the grid into non-overlapping 3×3 blocks,...
Compute minimax grid path and network delay
Problem (two related shortest-path tasks) Part 1 — Minimize the maximum value along a grid path ("minimax" path) You are given an m x n integer grid H...
Product Ideation with Street-View Car Images
Product Sense and Decision-Making: Two Prompts Question 1: Street View Car Images → New Product/Feature Assume you are a PM at a maps/search company w...
How do you handle credit, leadership, and feedback?
Behavioral interview prompts Answer the following prompts with concrete examples from your experience (use a structured method such as STAR: Situation...
Design an A/B test with guardrails and SRM checks
You are launching a new personalized ranking on the product listing page. Define: (a) the primary success metric and its exact formula (include numera...
Describe leading cross-functional research collaboration
Behavioral Prompt: STAR Example of Cross-Functional Collaboration Provide a STAR-formatted example from your resume or research where you collaborated...
Reflect on a failed decision and redo it
Behavioral & Leadership (Data Scientist Onsite) Prompt: High-Stakes Decision That Turned Out Wrong Describe one specific decision you owned that mater...
Implement a Web Crawler with BFS and DFS
Implement a simple web crawler in Python. You are given: - A starting URL. - A function get_links(url) -> list[str] that returns all outgoing links fr...
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...
Compute sliding-window average excluding top k
Problem You are given an integer array nums, a window size windowSize = w, and an integer k. For every contiguous subarray (window) of length w as the...
Design a prioritized log manager with eviction
Design a Log Store with Priority- and Recency-Aware Eviction Context You are designing an in-memory (or on-disk) log storage component. Each inserted ...