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 3391–3420 of 3640 results
- UberMediumMachine Learning EngineerDesign a restaurant recommendation system
An Uber MLE onsite ML system design question: design a personalized restaurant recommendation system for a food delivery marketplace's home feed. It tests candidate generation and ranking, feature engineering and training data, cold-start and exploration, low-latency serving, and offline/online evaluation, plus marketplace concerns like availability, ETA, diversity, fairness, and business rules.
ML System DesignOnsite - UberHardSoftware EngineerDesign a ride-hailing platform like Uber
This question evaluates a candidate's competency in large-scale system design, covering distributed systems architecture, data modeling, real-time location streaming, matching algorithms, scalability, fault tolerance, and secure payment handling.
System DesignOnsite - UberHardSoftware EngineerDesign a search autocomplete system
This system design question evaluates the ability to architect a large-scale search autocomplete service, testing knowledge of prefix data structures, distributed indexing, and latency-sensitive serving pipelines. It is commonly asked in senior engineering interviews to assess trade-off reasoning between freshness, read performance, and system complexity at scale.
System DesignOnsite - UberEasyData ScientistDesign and Test a New Feature
This question evaluates a candidate's ability to design a new product feature for a ride-hailing platform and to translate product goals into measurable outcomes, testing competencies in product sense, metric definition, experiment and causal-inference design, segmentation, and two-sided marketplace trade-off analysis.
Analytics & ExperimentationOnsite - UberHardData ScientistDesign and power an incentive experiment
This question evaluates experimental design, causal inference, A/B testing and statistical power calculation skills, including defining eligibility, unit of randomization, treatment arms, stratification, metric selection with guardrails, handling noncompliance and interference, and interpreting heterogeneous treatment effects.
Analytics & ExperimentationOnsite - UberMediumSoftware EngineerDesign cart and pricing engine classes
This question evaluates object-oriented system design and domain modeling skills related to cart operations, item customizations, composable pricing rules (surge, promotions, membership) and producing an itemized receipt.
System DesignOnsite - UberHardSoftware EngineerDesign driver heat map and discuss consensus
This interview question evaluates requirements, scale assumptions, API/data design, architecture, trade-offs, failure modes, and rollout in a realistic interview setting. A strong answer for Design driver heat map and discuss consensus states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
System DesignOnsite - UberMediumSoftware EngineerDesign mkdir and ls for a Basic File System
Design an in-memory file system supporting path creation (`mkdir`) and directory listing (`ls`). Tests tree-based data structures, path parsing, and clean object-oriented design.
Software Engineering FundamentalsOnsitetrietreedesign - UberHardSoftware EngineerDesign real-time driver heatmap system
This question evaluates a candidate's ability to design real-time distributed systems for geospatial aggregation, covering skills in spatial partitioning, high-throughput streaming ingestion, low-latency cell counting, WebSocket-based client updates, and top-K ranking within a fault-tolerant multi-region architecture.
System DesignOnsite - UberHardMachine Learning EngineerDesign real-time grid ETA for drivers
This question evaluates a candidate's competency in real-time ML system design, covering streaming data ingestion, GPS noise handling and denoising, online feature computation, low-latency model serving, and operational monitoring.
ML System DesignOnsite - UberHardSoftware EngineerDesign the Data Flow Behind a Food Delivery App's Restaurant List
A system design interview question asking you to design the data flow behind a food delivery app's restaurant list for a customer's delivery address. It tests geographic indexing of delivery areas, propagating restaurant status and delivery-time changes, read-path latency, caching, and freshness trade-offs.
System DesignOnsite - UberMediumSoftware EngineerDesign top-K frequency structure
This question evaluates ability to design efficient in-memory data structures for frequency tracking, including handling recency-based tie-breaking, memory bounds under churn, and concurrency implications.
Coding & AlgorithmsOnsite - UberMediumSoftware EngineerDesign top-K tracker with linked lists
Design top-K tracker with linked lists evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Coding & AlgorithmsOnsite - UberMediumSoftware EngineerEncode an N-ary tree as a string and decode it back to the identical tree
Design a string format for rooted N-ary trees and implement serialize and deserialize so the decoded tree has the same values, shape and child order. It tests unambiguous encoding of variable child counts, linear-time parsing, iterative handling of very deep trees, and validation of malformed input.
Software Engineering FundamentalsOnsite - UberMediumData ScientistEvaluate Marketplace Changes
This problem tests your ability to design an A/B test for a two-sided marketplace, focusing on network effects, metric selection, and identifying potential interference between treatment and control groups.
Analytics & ExperimentationOnsiteExperimentationA/B TestingMarketplace - UberMediumSoftware EngineerEvaluate an Arithmetic Expression
This problem tests your ability to parse and evaluate mathematical expressions involving integers, addition, subtraction, multiplication, division, and parentheses using stacks or recursion.
Coding & AlgorithmsOnsiteStackParsingString Manipulation - UberMediumData ScientistEvaluate marketplace interventions
This question tests the ability to design an experimentation framework for a two-sided marketplace, specifically addressing interference between supply and demand and selecting appropriate success metrics.
Analytics & ExperimentationOnsiteExperimentationMarketplaceCausal Inference - UberMediumSoftware EngineerFind Any Available Meeting Room
This question evaluates a candidate's competence in handling interval-based scheduling problems, specifically managing interval data and performing efficient searches within sorted bookings to detect potential overlaps.
Coding & AlgorithmsOnsite - UberMediumSoftware EngineerFind a Bounded Subarray and Largest Square
This question evaluates array manipulation and algorithmic problem-solving skills across two tasks: enforcing bounded value ranges within contiguous subarrays and identifying largest uniform square regions in binary matrices, exercising concepts such as range-tracking, efficient data structures, and dynamic programming.
Coding & AlgorithmsOnsite - UberMediumSoftware EngineerFind earliest common meeting slot
This problem tests interval management and the ability to find a common free window across multiple disjoint sets of busy times while respecting daily working constraints.
Coding & AlgorithmsOnsiteIntervalsSortingGreedy - UberHardSoftware EngineerFind earliest time all riders become connected
Assesses understanding of graph connectivity, temporal event processing, and dynamic graph data-structures for determining when a set of nodes becomes a single connected component.
Coding & AlgorithmsOnsite - UberEasySoftware EngineerFind smallest start index avoiding left exit
This question evaluates a candidate's ability to analyze reachability and cycle behavior in array-based functional graphs, testing competency in array manipulation, traversal, loop detection, and runtime optimization within the Coding & Algorithms domain.
Coding & AlgorithmsOnsite - UberMediumSoftware EngineerFind the Cheapest Valid Round Trip
Find the cheapest round-trip flight pair satisfying a minimum stay duration constraint in linear time with deterministic tie-breaking.
Coding & AlgorithmsOnsiteArraysSuffix MinimumTwo Pointers - UberMediumSoftware EngineerFind the First Unique Log
This problem tests your ability to efficiently process a stream or list of logs to identify the first log entry that appears exactly once, emphasizing the use of hash maps and ordered tracking.
Coding & AlgorithmsOnsiteHash MapArraysData Streams - UberMediumSoftware EngineerFind the K Closest Points to a Query Location
This problem tests the ability to efficiently find the k nearest neighbors using a priority queue (max-heap) and custom sorting logic for tie-breaking.
Coding & AlgorithmsOnsiteHeapGeometrySorting - UberMediumData ScientistFind the Next Larger Palindrome
This question evaluates proficiency in numeric and string manipulation, algorithmic thinking, and edge-case reasoning related to palindromic number generation.
Coding & AlgorithmsOnsite - UberMediumData ScientistFormulate OR model to reduce driver backtracking
This question evaluates skills in defining a quantitative driver-backtracking metric from GPS and assignment logs, detecting and validating backtracking segments, and formulating constrained optimization models for dispatch and repositioning, drawing on statistics, operations research, and stochastic optimization.
Statistics & MathOnsite - UberMediumSoftware EngineerGroup Anagrams
This problem tests your ability to identify and implement an efficient grouping mechanism using hash maps to categorize strings by a common canonical form.
Coding & AlgorithmsOnsiteHash TableStringSorting - UberMediumSoftware EngineerImplement Cache Eviction And Seat Assignment
This problem tests your ability to combine a Least Recently Used (LRU) cache mechanism with a greedy strategy for geometric optimization in seat assignments.
Coding & AlgorithmsOnsiteHash MapDoubly Linked ListGreedy - UberMediumData ScientistImplement FizzBuzz
This problem tests foundational programming skills by requiring the implementation of conditional logic and string manipulation based on modular arithmetic patterns.
Coding & AlgorithmsOnsiteAlgorithmsControl FlowStrings