1p3a Question · Oct 2025 · Paris

Converting Stack Samples to Trace Events

Question Details

Problem Statement A sampling profiler takes a snapshot of the active call stack at specific times. You get a list of these snapshots (samples), sorted by time. Each sample has: cpp struct Sample

Full Details

🔒

Unlock all Anthropic questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a anthropic interview for a swe role reported in 2025.

It covers the following topics: Recursion, Strings, Stack, System Design, Recursion, System Design, Stack .

Difficulty rating: Easy