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 451–480 of 4616 results
- AmperityMediumSoftware EngineerResolve a Difficult Project Challenge
This question assesses a candidate's ability to navigate complex engineering challenges by demonstrating a structured approach to problem-solving, stakeholder management, and iterative execution.
Behavioral & LeadershipTechnical ScreenLeadershipProject ManagementProblem Solving - AmplitudeMediumSoftware EngineerSwap kth-from-end node with head
This question evaluates a candidate's understanding of singly linked list pointer manipulation, in-place node swapping with O(1) extra memory, and handling of edge cases such as when the k-th node from the end is the head.
Coding & AlgorithmsTechnical Screen - AncestryMediumSoftware EngineerExplain learning paradigms, loss, and embeddings
This question evaluates understanding of core machine learning concepts—learning paradigms (supervised, unsupervised, self-supervised), loss functions, and embeddings—and the competency to explain their roles and interrelations in model training and inference.
Machine LearningTechnical Screen - Anchorage DigitalMediumSoftware EngineerDesign a dynamic leaderboard with rank queries
This question tests the ability to maintain a dynamic set of scores and efficiently query the rank of a user, requiring a balance between update complexity and retrieval time.
Coding & AlgorithmsTechnical ScreenData StructuresOrder StatisticsTrees - Anchorage DigitalMediumSoftware EngineerPrint the File System State
This problem tests your ability to recursively traverse a tree structure and format the output into a specific, ordered directory-style string representation.
Coding & AlgorithmsTechnical ScreenTrieRecursionTrees - AndurilMediumSoftware EngineerFind Heap Objects Not Referenced by the Stack
Implement a simplified mark-and-sweep sweep phase to identify unreferenced heap objects given a list of heap allocations and stack root pointers.
Coding & AlgorithmsTechnical Screenhash-tablememory-managementarrays - AndurilMediumSoftware EngineerFind Unreachable Objects in a Heap Graph
Implement a mark-phase reachability analysis for a heap graph starting from stack roots, returning unreachable heap addresses in their original order while handling cycles, self-references, and dangling pointers.
Coding & AlgorithmsTechnical Screengraphsbfs-dfshash-table - AndurilMediumSoftware EngineerMaximize Profit From Cutting Rods
This problem tests dynamic programming and optimization skills by requiring the calculation of the maximum profit obtainable from cutting a rod into integer-length pieces with given price values.
Coding & AlgorithmsTechnical ScreenDynamic ProgrammingOptimizationAlgorithms - AnrokMediumSoftware EngineerBatch Key Lookups Into One HTTP Request per 100 ms With Callbacks
A callback-based batching exercise: implement start_fetch(key, callback) so that lookups made within a 100 ms window are sent to a /get?keys= endpoint as one HTTP request, using only http_get_request and set_timeout. It tests timer scheduling, per-key callback bookkeeping and keeping overlapping in-flight batches apart on an event loop.
Software Engineering FundamentalsTechnical Screen - AnrokHardSoftware EngineerDesign async batched key-value fetcher
This question evaluates understanding of designing asynchronous, batched request handling in a single-threaded event-loop, covering batching windows, key deduplication, response-to-callback correlation, consistency boundaries, error handling, timeouts/retries, cancellation, and backpressure.
System DesignTechnical Screen - AnrokMediumSoftware EngineerExplain concurrency model preference
This question evaluates a candidate's understanding of concurrency models, practical experience with multithreading and asynchronous/callback-based programming, and the ability to analyze trade-offs for I/O-bound versus CPU-bound workloads.
Behavioral & LeadershipTechnical Screen - AnsysMediumSoftware EngineerImplement 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 EngineerBuild 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 EngineerCompute 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 EngineerCompute 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 - AnthropicMediumMachine Learning EngineerConvert Samples into Event Intervals
This problem tests your ability to process sequential data, apply run-length encoding concepts, and implement filtering logic based on temporal constraints.
Coding & AlgorithmsTechnical ScreenArrayIntervalsData Processing - AnthropicHardSoftware EngineerConvert 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 - AnthropicMediumMachine Learning EngineerConvert stack samples to execution trace
This question evaluates understanding of sampled stack traces, event reconstruction, handling ambiguous or incomplete profiling data, and algorithmic reasoning about correctness and time/space complexity.
Coding & AlgorithmsTechnical Screen - AnthropicHardSoftware EngineerCrawl 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 EngineerDebug 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 - AnthropicMediumMachine Learning EngineerDescribe communication to resolve ambiguity
Describe communication to resolve ambiguity 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 & LeadershipTechnical Screen - AnthropicHardSoftware EngineerDescribe 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 EngineerDesign 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 EngineerDesign 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 EngineerDesign 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 EngineerDesign 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 EngineerDesign 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 EngineerDesign 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 EngineerDesign 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 EngineerDesign 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