Katkat

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 3601–3630 of 3640 results

  • eBayMediumSoftware Engineer
    Explain Why You Are Leaving Your Current Role

    This question assesses the candidate's ability to communicate professional motivations, growth mindset, and alignment with a new company without speaking negatively about previous experiences.

    Behavioral & LeadershipOnsiteBehavioralCareer GrowthCommunication
  • eBayMediumSoftware Engineer
    Explain Why You Want to Join This Company

    This question tests your ability to articulate a clear, value-driven motivation for joining the organization, moving beyond surface-level enthusiasm to demonstrate alignment with the company's technical scale and business model.

    Behavioral & LeadershipOnsiteBehavioralMotivationCulture Fit
  • eBayMediumSoftware Engineer
    Find the Container with the Most Water

    This problem tests your ability to optimize an O(n^2) brute-force approach into an O(n) two-pointer solution by leveraging geometric constraints.

    Coding & AlgorithmsOnsiteArraysTwo PointersGreedy
  • eBayHardSoftware Engineer
    Find top co-viewed products

    This question evaluates algorithmic problem-solving and implementation skills in the Coding & Algorithms domain, including frequency aggregation, ordering with tie-breakers, and efficient data-structure use for session-based recommendation counting.

    Coding & AlgorithmsOnsite
  • eBayMediumProduct Manager
    How would you prioritize and test features?

    Explain how to prioritize and test eBay marketplace features using a first-time seller example. The solution covers goal framing, RICE prioritization, MVP execution, A/B testing, seller activation metrics, buyer trust guardrails, and marketplace tradeoffs.

    Product / Decision MakingOnsite
  • eBayMediumSoftware Engineer
    Investing in Deliberate Professional Growth

    This question assesses a candidate's ability to self-identify professional skill gaps, design a structured learning plan, and quantify their growth through feedback.

    Behavioral & LeadershipOnsiteGrowth MindsetSelf-ReflectionProfessional Development
  • eBayMediumSoftware Engineer
    Pass functions and analyze basic data structures

    This question evaluates proficiency with higher-order functions, passing functions or delegates, closures, and reasoning about side effects, alongside the ability to analyze fundamental data structures and their performance characteristics.

    Coding & AlgorithmsOnsite
  • eBayMediumSoftware Engineer
    Resolving a Technical Conflict with a Colleague

    This question assesses a candidate's ability to navigate technical disagreements through objective analysis, collaborative communication, and post-decision reflection.

    Behavioral & LeadershipOnsiteBehavioralConflict ResolutionCollaboration
  • eBayMediumSoftware Engineer
    Solve Dependency, Prefix, and Cache Problems

    This set of problems evaluates graph algorithms for dependency and cycle detection, efficient data structure design for prefix-based word storage, and cache eviction policy implementation, assessing skills in algorithmic analysis, data structures, and time/space complexity within the Coding & Algorithms domain.

    Coding & AlgorithmsOnsite
  • eBayMediumProduct Manager
    Why eBay and your weakness?

    Prepare eBay Senior PM behavioral answers for why eBay, a genuine weakness, and cross-functional product execution. The solution ties motivation to two-sided marketplace tradeoffs, buyer trust, seller success, humility, stakeholder alignment, and measurable outcomes.

    Behavioral & LeadershipOnsite
  • xAIMediumFrontend Engineer
    Build a React Typeahead with Async Suggestions and Keyboard Navigation

    A frontend coding question: build a React typeahead, a search input whose dropdown shows suggestions fetched asynchronously as the user types. The dropdown must support arrow keys, Enter, Escape and mouse selection, so it tests hooks, handling of out-of-order responses, accessibility and UI state.

    Software Engineering FundamentalsOnsite
  • xAIMediumSoftware Engineer
    Compute total active time per Twitter Space

    This problem tests your ability to process chronological event streams to calculate overlapping or continuous active intervals and aggregate durations per category.

    Coding & AlgorithmsOnsiteSortingHash MapData Processing
  • xAIHardMachine Learning Engineer
    Constant-Time Insert, Remove, and Uniform Random Sampling

    This question evaluates the ability to design a data structure that supports constant-time insertions, removals, and uniform random sampling, testing concepts such as hashing, indexed storage, and randomized selection within the coding and algorithms domain.

    Coding & AlgorithmsOnsite
  • xAIMediumFrontend Engineer
    Design a Collaborative Document Editor

    Design collaborative editing with an explicit operation model, OT or CRDT convergence, durable history, reconnect recovery, access control, and separate presence state.

    System DesignOnsite
  • xAIMediumSoftware Engineer
    Design a Least Frequently Used (LFU) Cache with O(1) Operations

    This question evaluates understanding of data structures and algorithm design for implementing a Least Frequently Used (LFU) cache with O(1) get and put operations, emphasizing frequency tracking and least-recently-used tie-breaking.

    Coding & AlgorithmsOnsite
  • xAIMediumSoftware Engineer
    Design a Rate Limiter with Per-User Token Quotas

    This question evaluates a candidate's ability to design distributed, low-latency rate limiting with heterogeneous per-user quotas, covering competencies in state modeling, consistency, caching, and scalable architecture.

    System DesignOnsite
  • xAIMediumFrontend Engineer
    Design a Real-Time Collaborative Document Editor with Concurrent Edits

    A system design question for a frontend engineer: design a collaborative document editor where several people edit the same document at once and see each other's changes in near real time. It tests conflict resolution for concurrent edits, client-side state, the sync protocol, persistence and presence.

    System DesignOnsite
  • xAIMediumSoftware Engineer
    Design a Retrieval-Augmented Generation (RAG) System

    This question evaluates understanding and engineering competency for retrieval-augmented generation (RAG) systems, covering offline indexing and online query planes, retrieval quality, prompt assembly, grounded generation with citations, and production monitoring; the domain is ML System Design.

    ML System DesignOnsite
  • xAIMediumSoftware Engineer
    Design a URL Shortening Service: Code Generation, Redirect Path, and Scaling

    A system design question asked as a 30-minute screen with no coding: design a URL shortening service that turns long URLs into short links and redirects visitors. It tests requirement scoping, capacity estimates, collision-free code generation, a fast read path, storage, scaling and failure handling.

    System DesignOnsite
  • xAIMediumSoftware Engineer
    Design a backend for an online checkers game

    This problem tests your ability to design a state-aware, real-time multiplayer system that ensures data consistency, enforces complex game rules, and manages turn-based concurrency.

    System DesignOnsiteWebSocketsConcurrencyAPI Design
  • xAIHardSoftware Engineer
    Design and Implement a URL Shortening Service

    Tests your ability to design a globally distributed, highly available URL shortening service capable of handling high read/write throughput with sub-millisecond redirection latency and collision-free ID generation.

    System DesignOnsitesystem-designdistributed-systemscaching
  • xAIMediumMachine Learning Engineer
    Dynamic Batching Decode Loop for a Mock Language Model with Slot Refilling

    An LLM inference coding question: write the generation loop for a mock language model that returns one next token per sequence in a batch. Requests finish at different steps on a stop token or a max-token limit, and freed batch slots must be refilled from a waiting queue, testing state tracking and batching logic.

    Software Engineering FundamentalsOnsite
  • xAIMediumMachine Learning Engineer
    Explain Data Collection Choices and Their Impact on Downstream Model Performance

    A machine learning screening question: explain how the data for a project on your resume was collected and processed, then discuss how data choices affect performance on downstream tasks. It tests first-hand knowledge of data pipelines, causal reasoning about data quality, and how to measure data effects.

    Machine LearningOnsite
  • xAIMediumMachine Learning Engineer
    Find All Faulty GPU Nodes with Parallel Group Tests That Cannot Share Nodes

    An algorithm design question about finding every faulty GPU node when the only tool is a group test that fails if any node in the set is bad. Tests need at least two nodes and parallel tests cannot share nodes, so it tests adaptive testing strategies, identifiability, and cost in rounds and tests.

    Software Engineering FundamentalsOnsite
  • xAIHardMachine Learning Engineer
    Greedy Longest-Match Tokenizer for an LLM Data Pipeline

    This question evaluates understanding of string-processing and greedy maximal-munch tokenization, as well as competency in designing efficient prefix-matching data structures and handling large-scale text preprocessing for LLM pipelines.

    Coding & AlgorithmsOnsite
  • xAIMediumSoftware Engineer
    Implement a parallelized sort

    This problem tests your ability to implement a parallelized version of Merge Sort using threads or a thread pool, focusing on partitioning, synchronization, and managing recursion depth.

    Coding & AlgorithmsOnsiteAlgorithmsConcurrencyMerge Sort
  • xAIMediumFrontend Engineer
    Implement an Asynchronous React Typeahead

    Implement a debounced React typeahead with stale-response protection, cancellation, loading/error states, keyboard selection, and accessible combobox semantics.

    Software Engineering FundamentalsOnsite
  • xAIMediumMachine Learning Engineer
    Implement dynamic batching for token decoding

    This question evaluates dynamic batching, per-request state management, and sequence-decoding correctness for language-model inference, including handling stop conditions, max-token limits, and maintaining a correct slot-to-request mapping.

    Coding & AlgorithmsOnsite
  • xAIEasySoftware Engineer
    In-Memory Key-Value Database with Nested Transactions

    This question evaluates understanding of in-memory data structures, transactional semantics (including nested transactions), and algorithmic complexity for implementing a key-value store that supports efficient GET/SET and rollback/commit operations.

    Coding & AlgorithmsOnsite
  • xAIMediumFrontend Engineer
    Load and Display a React List with useEffect

    Load a React list with useEffect while handling endpoint changes, cleanup, stale responses, HTTP and schema errors, stable keys, and user-visible states.

    Software Engineering FundamentalsOnsite