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 301–330 of 2810 results

  • AnsysMediumSoftware Engineer
    Implement Prefix Search and Node Removal

    This question evaluates proficiency in string data structures and manipulation (prefix-search concepts including case-insensitive matching and regex-based normalization) as well as linked list pointer manipulation and in-place node removal.

    Coding & AlgorithmsTechnical Screen
  • AnthropicMediumSoftware Engineer
    Build a concurrent web crawler

    This question tests your ability to design a concurrent crawler that manages shared state across multiple threads, handles URL de-duplication, and prevents infinite cycles during graph traversal.

    Coding & AlgorithmsTechnical ScreenConcurrencyMultithreadingGraph Traversal
  • AnthropicMediumSoftware Engineer
    Compute exclusive times and call stack from logs

    This question evaluates a candidate's ability to process single-threaded execution logs and compute per-function exclusive durations while reconstructing the call stack at a given timestamp, testing stack simulation, interval reasoning, timestamp tie-handling, parsing of time-stamped events, and algorithmic complexity analysis.

    Coding & AlgorithmsTechnical Screen
  • AnthropicMediumSoftware Engineer
    Compute matrix trace and support updates

    This question evaluates proficiency in matrix manipulation, incremental updates, and complexity analysis, specifically maintaining main-diagonal and anti-diagonal sums under point updates.

    Coding & AlgorithmsTechnical Screen
  • AnthropicHardSoftware Engineer
    Convert Streaming Call-Stack Samples into Function Events

    Tests the ability to process discrete call-stack snapshots into properly nested, ordered function start and end events using longest common prefix analysis and stack unwinding.

    Coding & AlgorithmsTechnical Screenstackalgorithmsprofiling
  • AnthropicHardSoftware Engineer
    Crawl Same-Domain Links

    This question evaluates understanding of web crawling and link traversal algorithms, including URL normalization, same-domain filtering, deduplication, and cycle-safe graph traversal.

    Coding & AlgorithmsTechnical Screen
  • AnthropicMediumSoftware Engineer
    Debug a GRPO training loop and explain ratios

    This question evaluates debugging and implementation knowledge for on-policy reinforcement learning, focusing on GRPO/PPO-style training loops, importance-sampling ratios, log-prob computations, masking, and advantage normalization.

    Machine LearningTechnical Screen
  • AnthropicHardSoftware Engineer
    Describe failure impact and resolve cross-functional conflict

    This question evaluates a software engineer's behavioral and leadership competencies, focusing on accountability for failed projects, impact recovery, conflict diagnosis, stakeholder management, and cross-functional collaboration.

    Behavioral & LeadershipTechnical Screen
  • AnthropicHardSoftware Engineer
    Design Durable One-to-One Web Messaging at Large Scale

    Design Web-only one-to-one messaging at 100 million DAU with durable deduplication, chat sharding, membership indexes, offline recovery, and replica-aware reads.

    System DesignTechnical Screen
  • AnthropicHardSoftware Engineer
    Design Large Model-Weight Distribution to GPU Workers

    Design a high-throughput, fault-tolerant distribution platform that transfers multi-hundred-gigabyte model weights to tens of thousands of GPU worker nodes with integrity validation, progressive rollouts, and fast rollback capabilities.

    System DesignTechnical Screensystem-designml-infrastructuredistributed-systems
  • AnthropicMediumSoftware Engineer
    Design Peer-to-Peer Model Distribution Under a Shared Link Cap

    Design an internal peer-to-peer artifact distribution system to deliver large model weights from a single seed machine to thousands of cluster workers subject to a shared aggregate upload-and-download network link limit.

    System DesignTechnical Screensystem-designdistributed-systemsnetworking
  • AnthropicMediumSoftware Engineer
    Design Telemetry Ingestion and Reconcile Metric Names

    Design a scalable telemetry ingestion pipeline that standardizes and reconciles metric naming inconsistencies and schema drift across disparate client libraries, historical stores, and real-time query engines.

    System DesignTechnical ScreenData InfrastructureTelemetryStream Processing
  • AnthropicHardSoftware Engineer
    Design a Crash-Resilient LRU Cache

    This question evaluates a candidate's competency in designing a crash-resilient LRU cache, including which data and ordering must be persisted, durability and recovery concerns, and trade-offs between latency and persistence.

    System DesignTechnical Screen
  • AnthropicMediumSoftware Engineer
    Design a Low-Latency GPU Inference Service

    This problem tests the ability to design a high-throughput, low-latency inference architecture for large language models, focusing on hardware utilization and bottleneck mitigation.

    ML System DesignTechnical ScreenMLOpsLLMDistributed Systems
  • AnthropicMediumSoftware Engineer
    Design a One-on-One Chat Service

    Design a highly available, low-latency one-on-one messaging system capable of delivering messages in real time, maintaining strict ordering, and handling offline synchronization.

    System DesignTechnical Screensystem-designdistributed-systemsreal-time
  • AnthropicMediumSoftware Engineer
    Design a Parallel Image Processor

    This problem tests your ability to design a thread-safe, parallelized image processing framework that handles neighborhood-based pixel operations without race conditions.

    Software Engineering FundamentalsTechnical ScreenConcurrencyMultithreadingImage Processing
  • AnthropicMediumSoftware Engineer
    Design a Resilient Chat System

    Design a resilient, distributed 1:1 and group messaging system focusing on durability guarantees, strict message ordering, robust fan-out, and reliable offline catch-up under partial failures.

    System DesignTechnical Screensystem-designdistributed-systemschat-architecture
  • AnthropicHardSoftware Engineer
    Design a concurrent web crawler

    An Anthropic system design question: design and implement a concurrent web crawler, from a single-threaded baseline to manual threads, a thread pool and asyncio. It covers the URL frontier, deduplication across workers and redirects, robots.txt and per-host politeness, Retry-After backoff, completion detection, memory sizing, testing and monitoring.

    System DesignTechnical Screen
  • AnthropicMediumSoftware Engineer
    Design a distributed web crawler

    This question tests the ability to design a scalable, fault-tolerant distributed web crawler that handles URL management, distributed coordination, and domain politeness.

    System DesignTechnical ScreenDistributed SystemsScalabilityCaching
  • AnthropicMediumSoftware Engineer
    Design a one-to-one chat system

    This problem tests your ability to design a scalable, real-time one-to-one messaging system by addressing requirements for message ordering, delivery guarantees, and user presence.

    System DesignTechnical ScreenWebSocketsMessagingScalability
  • AnthropicMediumSoftware Engineer
    Design a prompt-sharing platform

    This question assesses the ability to design a scalable content-sharing platform, focusing on data modeling, efficient retrieval of user-generated prompts, and the handling of concurrent access and permissions.

    System DesignTechnical ScreenAPI DesignData ModelingScalability
  • AnthropicHardSoftware Engineer
    Design a scalable network I/O service

    This question evaluates a candidate's ability to design a scalable, highly available network I/O backend, testing competencies in distributed systems, storage architecture, CDN and caching integration, API and data model design, capacity planning, failure handling, observability, and security.

    System DesignTechnical Screen
  • AnthropicHardSoftware Engineer
    Design a scalable, reliable system

    The prompt evaluates competence in large-scale distributed system design, covering storage architecture, consistency and replication strategies, caching, APIs and data models, operational reliability, security, and cost/capacity planning.

    System DesignTechnical Screen
  • AnthropicMediumSoftware Engineer
    Design a single- and multi-threaded web crawler

    This question evaluates skills in web crawling, URL parsing and fragment sanitization, graph traversal for deduplication, and concurrent programming for thread-safe crawling, and it falls under the Coding & Algorithms domain.

    Coding & AlgorithmsTechnical Screen
  • AnthropicMediumSoftware Engineer
    Design an LLM-based binary classifier

    This question evaluates knowledge of LLM-based binary classification, probabilistic scoring and numerical stability (including log-prob handling and log-sum-exp), prompt construction, batching and sequence-level aggregation, calibration and evaluation metrics, plus analysis of failure modes and inference-time complexity.

    ML System DesignTechnical Screen
  • AnthropicMediumSoftware Engineer
    Design file deduplication across nested directories

    This question evaluates a candidate's competency in file system traversal, robust I/O handling including symbolic links and cycles, content-based deduplication, and algorithmic efficiency within the Coding & Algorithms domain.

    Coding & AlgorithmsTechnical Screen
  • AnthropicHardSoftware Engineer
    Design production-ready dedup service

    This question evaluates system design and distributed storage competencies, focusing on scalable file deduplication, content-defined chunking, metadata and index design, multi-tenant architectures, and operational reliability across regions.

    System DesignTechnical Screen
  • AnthropicHardSoftware Engineer
    Design stack with O(1) minimum query

    This problem tests your ability to augment a standard stack with metadata to perform efficient minimum queries without sacrificing the constant-time complexity of stack operations.

    Coding & AlgorithmsTechnical ScreenStackData StructuresAlgorithms
  • AnthropicMediumSoftware Engineer
    Detect n-length consecutive sequences

    This question evaluates a candidate's competency in algorithm design and data-structure reasoning for detecting n-length consecutive integer sequences, encompassing handling of duplicates, negative values, and dynamic insertions and deletions.

    Coding & AlgorithmsTechnical Screen
  • AnthropicMediumSoftware Engineer
    Detect runs and answer suffix queries

    This question evaluates proficiency in array processing, run-length detection, algorithmic complexity analysis, and the use of range/suffix data structures within the Coding & Algorithms domain.

    Coding & AlgorithmsTechnical Screen