Katkat

practice a little every day, paws crossed ♡

Software Engineer 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 5821–5850 of 5874 results

  • eBayMediumSoftware Engineer
    Design a Top-K trending service

    This problem evaluates your ability to design a distributed system that aggregates high-velocity event streams to identify the most frequent items within a sliding time window.

    System DesignTechnical ScreenDistributed SystemsScalabilityStreaming
  • eBayMediumSoftware Engineer
    Design an Ad Assignment API

    This question evaluates a candidate's skill in designing stateful, production-grade HTTP APIs and reasoning about distributed-systems concerns such as idempotency, concurrency control, per-user state management, and observability.

    System DesignTechnical Screen
  • eBayHardSoftware Engineer
    Design an online marketplace for buying and selling

    This question evaluates competency in large-scale system design, covering distributed systems, data modeling, scalability, consistency, security, payments and escrow, media handling, and operational concerns for a two-sided online marketplace.

    System DesignOnsite
  • eBayHardSoftware Engineer
    Determine Reachability for a Chinese-Chess Horse with Blocked Legs

    Determine if a Chinese-chess horse can reach a target coordinate on a 10x9 board while respecting obstacle-blocked destinations and 'hobbled leg' movement constraints.

    Coding & AlgorithmsTechnical Screenbfsgraphmatrix
  • eBayMediumSoftware Engineer
    Determine Whether a String Is a Valid Number

    Implement a strict numeric string validator that checks whether an ASCII string conforms to valid integer, decimal, and scientific notation formats.

    Coding & AlgorithmsTechnical ScreenStringFinite AutomataParsing
  • eBayMediumSoftware Engineer
    Explain React Rendering and How You Fixed a Re-render Problem

    A frontend experience discussion about React rendering: explain what triggers a render, the render and commit phases, reconciliation and keys, then walk through a rendering performance problem you diagnosed and fixed. It tests accurate React mechanics, measurement-driven optimization and clear communication of past work.

    Software Engineering FundamentalsTechnical Screen
  • 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 K most frequent elements

    This question tests the ability to combine frequency maps with selection algorithms or heap-based structures to efficiently identify top-k elements.

    Coding & AlgorithmsTechnical ScreenHash MapHeapBucket Sort
  • 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
  • eBayMediumSoftware Engineer
    Find the Longest Palindromic Substring

    Implement an algorithm to find the longest palindromic substring in a given string, breaking ties by selecting the earliest occurrence and properly handling empty inputs.

    Coding & AlgorithmsTechnical Screenstringstwo-pointersdynamic-programming
  • 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
  • eBayMediumSoftware Engineer
    Implement an In-Memory File System

    This problem tests proficiency with hierarchical data structures (trees/tries) and object-oriented design by requiring the implementation of an in-memory file system with file/directory management and path resolution.

    Coding & AlgorithmsOnline AssessmentTreesTrieDesign
  • eBayMediumSoftware Engineer
    Implement list and grid transformation tasks

    This problem tests your ability to simulate state-dependent transitions on a 2D grid and your skill in repartitioning data based on specific grouping constraints.

    Coding & AlgorithmsTechnical ScreenArraysSimulationSorting
  • 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
  • eBayEasySoftware Engineer
    Length of the Longest Contiguous Subarray Summing to a Target

    Given an integer array that may contain negative numbers and a target k, return the length of the longest contiguous subarray whose sum equals k, or 0 when none exists. Tests reasoning about subarray sums with mixed signs and handling large inputs efficiently.

    Coding & AlgorithmsTechnical Screen
  • 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
    Rebuild a Binary Tree from Two Traversals and Serialize It Level by Level

    Given the preorder and inorder traversals of a binary tree with distinct values, rebuild the tree and return its level-order serialization, with empty slots marked as None and trailing ones removed. It tests understanding of traversal orders, careful index bookkeeping and an efficient solution for trees with thousands of nodes, including fully skewed ones.

    Coding & AlgorithmsTechnical Screen
  • 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
    Return the K Smallest Values from Sorted Arrays

    Tests ability to efficiently merge multiple sorted streams to extract the k smallest elements using a min-heap or frontier-based approach. Evaluates handling of empty arrays, duplicates, and computational complexity dependent on the number of arrays rather than total elements.

    Coding & AlgorithmsTechnical ScreenHeapPriority QueueMerge Sort
  • eBayMediumSoftware Engineer
    Search a Rotated Sorted Array in One Binary-Search Pass

    Implement a single-pass binary search to locate a target value in a rotated strictly increasing array in logarithmic time and constant auxiliary space.

    Coding & AlgorithmsTechnical Screenbinary-searcharraysdivide-and-conquer
  • 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
  • eBayMediumSoftware Engineer
    Wildcard Dictionary Matching

    This problem tests your ability to implement a pattern-matching algorithm that supports variable-length wildcards using recursion with memoization or dynamic programming.

    Coding & AlgorithmsTechnical ScreenRecursionDynamic ProgrammingString Matching
  • xAIHardSoftware Engineer
    Answer technical-challenge and motivation questions

    This question evaluates technical problem-solving depth, communication of impact, leadership and ownership, and intrinsic motivation and cultural fit by probing a candidate's most challenging engineering work and reasons for joining the team.

    Behavioral & LeadershipOnline Assessment
  • xAIMediumSoftware Engineer
    Compute dasher pay from order events

    This question evaluates a candidate's ability to process time-based event streams, manage overlapping active intervals, and compute aggregate payouts under concurrency constraints.

    Coding & AlgorithmsTechnical Screen
  • 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
  • xAIMediumSoftware Engineer
    Contrast processes and threads

    This question evaluates understanding of operating system and concurrency fundamentals—specifically differences between processes and threads including memory isolation, resource ownership, scheduling, context-switch costs, inter-process communication versus in-process synchronization, failure isolation, and security.

    Coding & AlgorithmsTechnical Screen
  • xAIMediumSoftware Engineer
    Design a Durable Key-Value Cache with File-System Persistence

    This question evaluates a candidate's ability to design durable in-memory data structures and persistence strategies, including reasoning about crash recovery, durability guarantees, and performance trade-offs.

    System DesignTechnical Screen
  • 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