Quick Overview

Convert timestamped call-stack samples into ordered function start and end events, preserving frame depth and recursive occurrences. Handle stack changes, the initial sample, and final closure at a supplied end time.

Convert Streaming Call-Stack Samples into Function Events

Company: Anthropic

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: Convert timestamped call-stack samples into ordered function start and end events, preserving frame depth and recursive occurrences. Handle stack changes, the initial sample, and final closure at a supplied end time.

Read the full Anthropic Software Engineer interview experience this question came from

Loading…