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 1321–1350 of 3640 results
- GleanMediumData ScientistSQL: Zero-Filled DAU, Rolling 30-Day MAU, and the MAU Impact of a User-ID Rehash
Three SQL questions on a login table: daily active users with zero-filled days, rolling 30-day MAU per date with a weekday-usage follow-up, and how a user-ID rehash inflates MAU. Tests distinct counting, calendar generation, window boundaries, query cost and reasoning about metric artifacts.
Data Manipulation (SQL/Python)Onsite - GleanMediumSoftware EngineerServe Top-k Prefix Suggestions Filtered by Department Within a Tight Memory Budget
Return the top k suggestions whose ngram starts with a query and whose department matches the user, from a static list that already fills half of the server's memory. Tests prefix indexing, top-k extraction without scanning all matches, and explicit memory accounting against latency.
Software Engineering FundamentalsOnsite - GleanMediumSoftware EngineerShortest Manhattan Distance Between Any X and Any Y in a String or Grid
Find the shortest distance between any X and any Y, first in a string and then in a 2D grid using Manhattan distance, returning -1 when one letter is missing. Tests moving from a linear scan to multi-source breadth-first search and reasoning about efficiency on large grids.
Coding & AlgorithmsOnsite - GleanMediumSoftware EngineerSimulate Modulo-Assigned Document Indexers with Wrap-Around and Rank the Busiest
Simulate documents assigned to indexers by index modulo m, falling through to the next free indexer with wrap-around and dropping documents when all are busy, then report processed totals, the busiest indexer and the top-k share. Tests event simulation, finding the next free slot efficiently and precise tie rules.
Coding & AlgorithmsOnsite - GleanMediumSoftware EngineerSort in Linear Time an Array Where At Most One Element Was Moved Out of Place
Given an array that was sorted until one element was moved to another position, return it sorted again in linear time without a full sort. Tests locating the displaced element in either direction, handling duplicates and already-sorted input, and reasoning about O(n) time with constant extra space.
Coding & AlgorithmsOnsite - GleanEasyData ScientistWhat are sum expectation and variance?
This question evaluates understanding of expectation, variance and covariance and the ability to reason about how sums of random variables affect their moments, including the role of covariance and the special case of independence in the Statistics & Math domain.
Statistics & MathOnsite - GlovoMediumSoftware EngineerWhy Glovo, Strengths and Weaknesses, People Management and Disagreeing with a Manager
A behavioral question set from a mid-level software engineer loop at Glovo: introduce yourself and your recent work, explain why you want to join, describe your strengths and weaknesses, discuss any experience managing people, and recount a disagreement with your manager. It tests self-awareness, motivation and professional judgment.
Behavioral & LeadershipOnsite - GofundmeMediumData ScientistExplain an AI Agent You Built: Design, Evaluation, and Governance
Practice explaining an AI-agent project through design ownership, task evaluation, hallucination controls and data governance.
ML System DesignOnsite - Goldman SachsMediumProduct ManagerBehavioral Decision-Making & Growth
Practice behavioral PM answers for decision-making and growth in regulated, data-heavy domains. The guide covers upskilling plans, learning backlogs, build-versus-buy trade-offs, projects derailed by external events, risk and compliance handling, customer discovery, metrics, and cross-functional leadership.
Behavioral & LeadershipOnsite - Goldman SachsEasySoftware EngineerCache Trade-offs and a Constant-Time Least-Recently-Used Cache
Tests understanding of caching trade-offs (latency, freshness, memory overhead) and the implementation of a fixed-capacity Least Recently Used (LRU) cache supporting constant-time operations.
Software Engineering FundamentalsOnsitelru-cachehash-tabledoubly-linked-list - Goldman SachsMediumSoftware EngineerCollect the Most Rocks with Upward and Rightward Moves
Tests dynamic programming on a grid to find an optimal path from the bottom-left to top-right corner using constrained directional moves.
Coding & AlgorithmsOnsitedynamic-programminggridmatrix - Goldman SachsEasySoftware EngineerDesign a Pastebin Service: Requirements, Entities, APIs and End-to-End Architecture
Design a scalable text sharing (Pastebin) service that generates unique short URLs for submitted text snippets. This question assesses API design, data modeling, storage decoupling, key generation strategies, and caching mechanisms under high read concurrency.
System DesignOnsiteObject StorageCachingKey Generation - Goldman SachsMediumSoftware EngineerDesign a Streaming Metrics Dashboard: Time-Range Queries and Event-Time Watermarks
Design the backend of a dashboard that shows metrics computed from a continuous event stream and lets users query any time range. The discussion focuses on answering range queries from pre-aggregated data and on how watermarks decide when event-time windows are complete despite late or out-of-order events.
System DesignOnsite - Goldman SachsMediumSoftware EngineerDesign a Ten-Minute In-Memory Notification Deduplication Engine
Design a high-throughput, low-latency in-memory deduplication service that identifies and suppresses duplicate notifications within a 10-minute sliding window.
System DesignOnsiteIn-Memory CachingConcurrencyHigh Throughput - Goldman SachsMediumSoftware EngineerHighest Average Student Score: Out-of-Memory Input, Overflow and Thread Safety in Java
Compute the highest average score among students from name and score records, then extend the code for data larger than memory, negative scores, integer overflow and multithreaded processing. The question also covers what atomic operations are in Java and how synchronized differs from ReentrantLock.
Software Engineering FundamentalsOnsite - Goldman SachsMediumProduct ManagerLeading a Distributed Cross-Divisional Team
Practice leading a distributed cross-divisional team in a regulated industry. The solution covers team charters, RACI/DACI, async communication, time-zone fairness, cultural norms, compliance-by-design, decision logs, trust-building rituals, first-30-day priorities, and team-health metrics.
Behavioral & LeadershipOnsite - Goldman SachsMediumSoftware EngineerMaximize Element Frequency with Limited Increments
Tests sorting and sliding window techniques to maximize an element's frequency within an increment budget.
Coding & AlgorithmsOnsitearraysliding-windowsorting - Goldman SachsMediumSoftware EngineerOverlapping Meetings and Minimum Rooms: No Sweep Line, No Library Sort, Streams, Logs
Starting from a list of meeting time intervals, decide whether one person can attend them all, then find the minimum number of rooms without a sweep line, order the meetings without a library sort, handle a stream of meetings, and explain how a Kafka-style append-only log broker works. It tests heaps, sorting, streaming and log storage.
Software Engineering FundamentalsOnsite - Goldman SachsMediumSoftware EngineerRolling Ball Maze Reachability
This problem tests your ability to model a grid-based movement simulation as a graph reachability problem, requiring efficient state traversal.
Coding & AlgorithmsOnsiteBFSGraphsSimulation - Goldman SachsEasySoftware EngineerSearch for a Target in a Matrix Sorted by Rows and Columns
Tests the ability to search efficiently in a 2D grid sorted along both dimensions by exploiting boundary invariants to achieve an O(m + n) time complexity.
Coding & AlgorithmsOnsitearraysmatrixbinary-search - Goldman SachsMediumSoftware EngineerSkip-Level Behavioral: Commitment, Working With PMs and EMs, and Following Up on SLAs
A skip-level manager behavioral round that probes a commitment-to-delivery mindset, asks for a walkthrough of a significant past project, and focuses on how the candidate works with product and engineering managers and tracks and follows through on SLAs. It tests ownership, stakeholder management and reliability.
Behavioral & LeadershipOnsite - GoogleMediumSoftware EngineerA Leader or Manager Who Shaped You and How You Applied the Lesson Later
A behavioral interview question asking you to describe a past leader or manager who had a strong positive influence on you and how you later applied what you learned. It tests reflection, the ability to turn an observed behavior into a reusable lesson, and evidence that the lesson changed your own work.
Behavioral & LeadershipOnsite - GoogleMediumData ScientistAddress Overfitting in Supervised Learning Models
Evaluates supervised learning judgment around bias, variance, overfitting, and train-test performance gaps. Strong answers diagnose leakage, split errors, distribution shift, and high variance, then propose regularization, simpler models, validation, more data, and monitoring.
Machine LearningOnsite - GoogleHardData ScientistAnalyze time series and design validation experiment
This problem tests the ability to detect structural changes in time-series data and design a rigorous A/B testing strategy to measure the impact of an intervention on count-based metrics.
Analytics & ExperimentationOnsiteTime SeriesCausal InferenceA/B Testing - GoogleMediumSoftware EngineerAnswer Staff-level leadership scenarios using STAR
This question evaluates staff-level leadership competencies including technical decision-making, stakeholder alignment, conflict resolution, incident management, ownership, risk mitigation, and cross-team influence within the behavioral and leadership domain.
Behavioral & LeadershipOnsite - GoogleHardSoftware EngineerAnswer core teamwork and conflict stories
This question evaluates interpersonal competencies such as teamwork, conflict resolution, advocacy, active listening, and the ability to learn from peers and apply that learning in a professional setting.
Behavioral & LeadershipOnsite - GoogleMediumSoftware EngineerArrange Crops into Connected Regions in Rectangular and Two-Square Gardens
Arrange exact crop counts into connected grid regions, prove a rectangular construction, and analyze the geometry needed for a two-square garden follow-up.
Coding & AlgorithmsOnsite - GoogleEasySoftware EngineerAssign the Minimum Fleet to Rental Reservations
Determine the minimum fleet size and a deterministic vehicle assignment for a list of rental reservations using interval scheduling and priority queues.
Coding & AlgorithmsOnsiteGreedyHeapIntervals - GoogleHardData AnalystBalance Fraud Control with User Experience
Practice designing fraud controls that balance expected harm, risk-based verification, legitimate-user friction, and reliable policy evaluation.
Product / Decision MakingOnsite - GoogleMediumSoftware EngineerBoolean Expression Tree with Leaf Flips
This problem tests recursive tree evaluation logic and the ability to optimize updates by propagating changes only to necessary ancestors.
Coding & AlgorithmsOnsiteTreesRecursionBoolean Logic