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 211–240 of 2336 results

  • AnthropicMediumSoftware Engineer
    Answer AI Safety Behavioral Prompts

    This question evaluates behavioral and leadership competencies for a software engineering role, including alignment with organizational values, ethical judgment on AI safety, communication, mentorship, and influence on project and product decisions within the Behavioral & Leadership domain.

    Behavioral & LeadershipOnsite
  • AnthropicMediumSoftware Engineer
    Answer Culture and Project Questions

    This question evaluates a software engineer's behavioral competencies—ownership, judgment, communication, and values alignment—by prompting story-driven examples about past projects, difficult tradeoffs, and motivation for joining an AI safety–oriented research organization.

    Behavioral & LeadershipOnsite
  • AnthropicHardSoftware Engineer
    Answer culture-fit reflection questions

    This question assesses a candidate's ability to demonstrate intellectual humility, accountability, and the capacity for self-directed growth in high-stakes technical environments.

    Behavioral & LeadershipOnsiteAccountabilitySelf-AwarenessGrowth-Mindset
  • AnthropicMediumSoftware Engineer
    Answer general fit and AI safety questions

    Answer general fit and AI safety questions evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipOnsite
  • AnthropicMediumSoftware Engineer
    Apply bitwise tricks for performance

    This question evaluates proficiency with bitwise operations, branchless programming, low-level performance optimizations, and microarchitectural reasoning about pipeline stalls, instruction-level parallelism, and cache behavior.

    Coding & AlgorithmsOnsite
  • AnthropicMediumSoftware Engineer
    Banking System Simulation

    This question evaluates a candidate's ability to design a stateful, multi-level simulation system that processes a time-ordered stream of operations. It tests object-oriented design, incremental complexity management, and handling of deferred effects like scheduled cashback credits. Such object-modeling questions are commonly used in coding interviews to assess practical application of data structures under evolving requirements.

    Coding & AlgorithmsOnsite
  • AnthropicMediumSoftware Engineer
    Batch Image Resize and Rotate with Pillow: Exact Dimensions, Parallelism, Bad Files

    A three-part Python image processing exercise: resize and rotate images with Pillow while predicting the exact printed dimensions, speed up a large batch with multiprocessing and a staged pipeline, then keep the batch running through corrupt, oversized and unsupported files. It tests API precision, parallelism and robustness.

    Software Engineering FundamentalsOnsite
  • AnthropicHardSoftware Engineer
    Batch-Apply Pillow Image Transforms, Then Parallelize: Processes vs Threads

    A Python coding exercise that applies a given sequence of Pillow transforms to a folder of cat images and then asks you to cut the total processing time. It tests clean per-image code, reasoning about CPU-bound work and the GIL, choosing between processes and threads, and sizing a worker pool.

    Software Engineering FundamentalsOnsite
  • AnthropicHardSoftware Engineer
    Build a Progressive Banking Ledger

    Design and implement an in-memory, timestamped banking ledger supporting atomic transfers, cashback, scheduled payments, account merges with alias resolution, and historical balance lookups.

    Coding & AlgorithmsOnsitedesignheapbinary-search
  • AnthropicHardSoftware Engineer
    Build a Progressive Cloud Storage System

    Design and implement an in-memory cloud storage engine supporting user quotas, file operations, compression/restoration semantics, and glob-based search.

    Coding & AlgorithmsOnsiteData StructuresSystem DesignOOP
  • AnthropicHardSoftware Engineer
    Build a Progressive Employee Tracker

    Design an in-memory attendance and payroll tracking system that manages shift lifecycles, deferred rate promotions, overlapping bonus windows, and duration rankings.

    Coding & AlgorithmsOnsiteIntervalsBinary SearchObject-Oriented Design
  • AnthropicMediumSoftware Engineer
    Build a Resize-and-Rotate Image Pipeline with Multiprocessing

    Design a Pillow resize-and-rotate pipeline with explicit transform semantics, bounded multiprocessing, per-image failures, and safe output publication.

    Software Engineering FundamentalsOnsite
  • AnthropicHardSoftware Engineer
    Build a least-recently-used cache

    This problem tests your ability to implement an efficient LRU cache using a combination of a hash map and a doubly linked list to achieve constant-time operations.

    Coding & AlgorithmsOnsiteData StructuresHash MapLinked List
  • AnthropicHardSoftware Engineer
    Calculate Streaming Token Usage Costs

    Implement a robust token usage billing manager that accumulates streaming chunk deltas and non-streaming totals, enforces strict schema and sanity checks, and avoids floating-point precision loss.

    Coding & AlgorithmsOnsiteAlgorithmsData StructuresSystem Design
  • AnthropicMediumSoftware Engineer
    Compare Threads and Processes for Image Processing

    Tests operating system concurrency fundamentals, memory ownership models, IPC serialization overhead, and empirical benchmarking strategies for CPU-bound image processing pipelines.

    Software Engineering FundamentalsOnsiteconcurrencyoperating-systemsperformance
  • AnthropicHardSoftware Engineer
    Compute Exclusive Time from Stack Events

    Compute aggregate exclusive execution time for each function from nested start and end events, including recursive calls. Use a stack over a validated single-threaded trace, apply half-open time intervals, and return deterministic sorted results.

    Coding & AlgorithmsOnsite
  • AnthropicHardSoftware Engineer
    Compute a Global Mode Across Distributed Partitions

    Compute an exact distributed mode with local frequency combining, key-based reducers, global winner selection, communication accounting, and skew-aware recovery.

    Software Engineering FundamentalsOnsite
  • AnthropicHardSoftware Engineer
    Compute an Exact Distributed Median with Limited Communication

    Compute an exact distributed median through global rank selection and count reductions, accounting for integer range, local search work, communication rounds, and even-size semantics.

    Software Engineering FundamentalsOnsite
  • AnthropicHardSoftware Engineer
    Convert Sampled Call Stacks into Start and End Events

    Convert sampled call stacks to inferred start/end events using ordered common prefixes, recursive frames, explicit final-open behavior, and last-N history limitations.

    Coding & AlgorithmsOnsite
  • AnthropicMediumSoftware Engineer
    Convert Sampled Call Stacks into Timestamped Function Start and End Events

    Convert a sampling profiler's timestamped call stacks into function start and end events for a trace viewer, explain why ends are emitted innermost first and starts outermost first, then redesign the converter for an unbounded stream. It tests stack diffing, recursion handling and streaming state.

    Software Engineering FundamentalsOnsite
  • AnthropicHardSoftware Engineer
    Convert Stack Samples into Trace Events

    This problem tests your ability to manipulate tree-like path structures and manage state transitions using a stack, specifically focusing on efficiently calculating diffs between consecutive call stacks.

    Coding & AlgorithmsOnsiteArraysStackStrings
  • AnthropicHardSoftware Engineer
    Debug Python LRU Cache-Key Construction

    Implement and debug a thread-safe, bounded LRU memoization decorator that generates canonical cache keys across equivalent argument patterns, distinguishes conflicting types, and avoids caching exceptions.

    Software Engineering FundamentalsOnsitepythonconcurrencycaching
  • AnthropicHardSoftware Engineer
    Debug Tokenization and Detokenization

    Implement and debug a prefix-based tokenizer and detokenizer class, ensuring deterministic longest-match greedy tokenization, strict vocabulary validation, explicit error handling for unencodable characters, and guaranteed round-trip fidelity.

    Software Engineering FundamentalsOnsitestring-algorithmstriesoftware-engineering
  • AnthropicMediumSoftware Engineer
    Describe a Python design-and-coding approach in Colab

    This question evaluates a candidate's ability to design and implement a Python-based solution within a cloud-hosted notebook environment, covering requirements elicitation, component and data-structure selection, modularization, testing, dependency and environment management, and basic performance analysis.

    System DesignOnsite
  • AnthropicMediumSoftware Engineer
    Describe a Strongly Held View That Proved Wrong

    Tests intellectual humility, technical judgment, and the ability to pivot based on disconfirming evidence while taking full accountability for downstream impacts.

    Behavioral & LeadershipOnsiteBehavioralIntellectual HumilityEngineering Judgment
  • AnthropicMediumSoftware Engineer
    Describe handling AI safety concerns

    This question evaluates a candidate's competency in AI safety risk management, including identification, assessment, mitigation, monitoring, and cross‑functional leadership within software engineering.

    Behavioral & LeadershipOnsite
  • AnthropicMediumSoftware Engineer
    Describe your most impactful project

    This question evaluates a candidate's leadership, ownership, communication, and technical judgment by probing their most impactful project and personal contributions.

    Behavioral & LeadershipOnsite
  • AnthropicMediumSoftware Engineer
    Design Distributed Sorting Around an Explicit Helper Contract

    Design and implement the coordination logic for a distributed range-based sort across multiple worker nodes, specifying the worker helper contract and handling key skew and duplicate values.

    Software Engineering FundamentalsOnsitedistributed-systemsalgorithmssystem-design
  • AnthropicMediumSoftware Engineer
    Design GPU inference request batching

    This question evaluates a candidate's competency in ML System Design, focusing on GPU-based inference batching, scheduling, autoscaling, and the operational concerns of routing, compatibility, and fault-tolerance.

    ML System DesignOnsite
  • AnthropicMediumSoftware Engineer
    Design Instagram (Feed, Photos, and Friend Recommendations)

    Design a scalable social media platform supporting photo uploads, timeline feed generation, follow graphs, and friend recommendations. This problem tests distributed storage, feed fan-out strategies under skewed follower distributions, and graph-based recommendation systems.

    System DesignOnsiteDistributed SystemsCachingFeed Generation