practice a little every day, paws crossed ♡
Interview Questions
Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.
- 9403
- Questions
- 546
- Companies
- 11
- Topics
- 8
- Languages
Showing 1471–1500 of 3640 results
- GoogleMediumSoftware EngineerImplement an LRU cache
This question evaluates competency in data structure design and algorithmic complexity by requiring a bounded key-value cache with O(1) average-time get and put operations.
Coding & AlgorithmsOnsite - GoogleMediumData ScientistImplement longest subarray summing to k
This question evaluates proficiency in array algorithms, prefix-sum reasoning, hash-based lookup patterns, and careful handling of edge cases and deterministic tie-breaking.
Coding & AlgorithmsOnsite - GoogleMediumSoftware EngineerImplement matrix transforms and discuss eigenvalues
This problem tests your ability to perform in-place 2D matrix transformations and your conceptual understanding of how linear algebraic properties like eigenvalues describe matrix behavior.
Software Engineering FundamentalsOnsiteArraysMatricesLinear Algebra - GoogleMediumSoftware EngineerImplement text wrapping, waitlist, and intervals
This problem tests your ability to implement a greedy word-wrapping algorithm and a custom queue data structure that supports efficient deletions based on time intervals.
Coding & AlgorithmsOnsiteGreedyString ManipulationData Structures - GoogleMediumData ScientistInterpreting a Dosage-Recovery Regression: P-values, CIs, Causality
Given a fitted dosage-vs-recovery-time regression, explain exactly what the reported p-value and confidence interval mean, what assumptions back that inference, how a confidence interval differs from a prediction interval, and why the result alone cannot establish causality. Tests statistical precision under pressure.
Statistics & MathOnsitestatisticslinear-regressionhypothesis-testing - GoogleMediumSoftware EngineerIntervals with Exactly X Concurrent Meetings
Implement an algorithm to identify all maximal time intervals during which exactly X meetings overlap, using a sweep-line technique over half-open intervals.
Coding & AlgorithmsOnsitesweep-lineintervalssorting - GoogleHardData AnalystInvestigate a Decrease in Webpage Warnings
Diagnose falling malicious-webpage warnings by decomposing traffic, scoring, flags, rendering, and labels to separate improvement from failure.
Analytics & ExperimentationOnsite - GoogleHardData AnalystInvestigate a Drop in Sales
Use a structured sales-drop investigation covering metric definitions, data quality, funnel decomposition, segmentation, and causal evidence.
Analytics & ExperimentationOnsite - GoogleMediumSoftware EngineerLargest-Area Rectangle From a Point Set When Sides Need Not Be Axis-Aligned
Given distinct integer points in the plane, return the largest area of a rectangle whose four corners are input points, where the rectangle may be rotated rather than aligned with the axes. It tests the geometric characterization of rectangles, grouping point pairs efficiently, and exact integer arithmetic.
Coding & AlgorithmsOnsite - GoogleMediumSoftware EngineerLead a Project Through Ambiguous Requirements
This question evaluates your ability to take ownership of ambiguous, loosely defined technical initiatives, structure unknown variables, validate assumptions through experiments, and pivot effectively based on emerging data.
Behavioral & LeadershipOnsiteBehavioralLeadershipAmbiguity - GoogleMediumSoftware EngineerLead a deep dive on your most complex project
This question evaluates a candidate's systems architecture and technical leadership skills, including design reasoning, trade-off analysis, incident management, and reflective learning.
Behavioral & LeadershipOnsite - GoogleMediumSoftware EngineerLeading an Engineering Team Back From Low Morale
A behavioral question for an engineering manager candidate about leading a team whose morale had dropped. It tests how the candidate reads the signals, diagnoses causes through one-on-ones and data, acts on causes inside and outside their control, communicates honestly, and shows that the team recovered.
Behavioral & LeadershipOnsite - GoogleMediumProduct ManagerLearning from Wrong Data
Practice answering a behavioral interview prompt about making a decision from wrong or misleading data. The model response uses STARL to show ownership, discovery through reconciliation, business impact, recovery, data quality safeguards, dashboard controls, stakeholder communication, and product judgment.
Behavioral & LeadershipOnsite - GoogleMediumSoftware EngineerMaintain k-th largest in a stream
This question evaluates understanding of data structures and streaming algorithms for maintaining k-th order statistics under dynamic inserts, emphasizing time-space trade-offs and correct handling of duplicates.
Coding & AlgorithmsOnsite - GoogleMediumSoftware EngineerMaintain streaming median and loosemedian
This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Maintain streaming median and loosemedian states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Coding & AlgorithmsOnsite - GoogleMediumSoftware EngineerManaging Delivery Dates When a Team Commitment Is at Risk
A behavioral question for an engineering manager on how they set, track and protect delivery dates, followed by a real case where a committed date was at risk. It tests early risk detection, weighing scope, staffing and date options, stakeholder communication, and protecting quality and team health.
Behavioral & LeadershipOnsite - GoogleMediumProduct ManagerMarket Sizing & Product Metrics Drill
Practice Fermi estimation and product metrics with questions on U.S. Starbucks stores, worldwide smart-TV sales, and Google Docs metrics. The solution shows assumptions, formulas, central estimates, ranges, sanity checks, and collaboration-focused metrics with measurable goals and guardrails.
Product / Decision MakingOnsite - GoogleMediumSoftware EngineerMatch Dictionary Words to a Swipe-Keyboard Gesture Path
A coding problem modeled on a swipe keyboard: given the ordered keys a finger passed over and a dictionary, return every word the gesture could spell. It tests precise handling of the start and end keys, doubled letters and duplicate words, and efficient matching of many dictionary words against one gesture path.
Coding & AlgorithmsOnsite - GoogleMediumSoftware EngineerMatch Tagged Problems to Skilled Programmers at Scale
Design a distributed matching platform that pairs incoming tagged tasks with skilled programmers using graph algorithms at scale.
System DesignOnsitesystem-designgraph-algorithmsdistributed-systems - GoogleMediumSoftware EngineerMaximize Boundary-Difference Subarray Sum
This question evaluates algorithmic problem-solving skills with emphasis on array processing, constrained subarray sums, and the design of time- and space-efficient algorithms within the Coding & Algorithms domain.
Coding & AlgorithmsOnsite - GoogleMediumSoftware EngineerMaximize coins collected by 3-step pieces
This question evaluates modeling and optimization of discrete state-space transitions under movement constraints, testing combinatorial reasoning, reachability, and resource-maximization competencies.
Coding & AlgorithmsOnsite - GoogleMediumSoftware EngineerMaximize the Equal Wood Segment Length
Tests the ability to solve an optimization problem by applying binary search over a monotonic search space (binary search on answer).
Coding & AlgorithmsOnsitebinary-searcharraysgreedy - GoogleHardSoftware EngineerMerge Two Named Trees: First Tree's Names and Order, Second Tree's Values
Merge two trees whose nodes carry a name, an integer value and an ordered list of children, keeping the first tree's names and child order while taking values from the second. Same-name children pair up by order of appearance and second-tree leftovers are appended, testing careful recursive construction from a rule-heavy specification.
Coding & AlgorithmsOnsite - GoogleMediumSoftware EngineerMinimize Direction Violations in a Directed Road Network
Find the minimum number of edge reversals needed to travel from a source node to a target node in a directed graph. Tests graph modeling (0-1 weighted edges), edge cases like parallel edges and disconnected components, and efficient shortest-path traversal.
Coding & AlgorithmsOnsiteGraphBFSShortest Path - GoogleMediumSoftware EngineerMinimum Cars for Rental Requests
Determine the minimum number of rental cars required to service a given list of booking requests with half-open time intervals.
Coding & AlgorithmsOnsiteintervalsheapgreedy - GoogleMediumSoftware EngineerMinimum Path Node Count with an Optional Broken Vertex
Find the minimum number of vertices on a path between two nodes in an unweighted graph while avoiding a designated broken vertex.
Coding & AlgorithmsOnsitegraphbfsshortest-path - GoogleMediumSoftware EngineerMost Active Users in a Live Communication Stream
This problem tests your ability to efficiently manage and rank real-time event counts using hash maps and balanced data structures or heaps, focusing on deduplication and stream processing.
Coding & AlgorithmsOnsiteHash MapsStream ProcessingData Structures - GoogleMediumSoftware EngineerOptimize 0/1 to bounded knapsack DP
This question evaluates mastery of dynamic programming for knapsack problems, focusing on state formulation, space-time optimization, and reconstructing optimal item sets.
Coding & AlgorithmsOnsite - GoogleMediumSoftware EngineerParse a Nested-List String and Compute Its Weighted Sum
Implement a parser that processes a string representation of a nested list and computes the depth-weighted sum of all non-negative integers contained within it.
Coding & AlgorithmsOnsiteString ParsingStackSimulation - GoogleMediumSoftware EngineerParse strings and find meeting slots
This question evaluates string parsing and data-extraction skills alongside set/array-based aggregation and algorithmic reasoning for calendar availability and time-window constraints.
Coding & AlgorithmsOnsite