Anthropic logoAnthropic
Coding·55 minMembers

Coding Q3 — Stack Trace Reconstruction

Members only

Given a stream of `enter <func>` / `exit <func>` lines representing a program's execution, reconstruct the active call stack at every point and compress consecutive identical traces. Bonus follow-ups ...

SWE
MLE
two-pointer
string-processing
stack
python
medium
Frequency
Medium
Last asked
2026-02-19
Stage
phone-screen · onsite-coding

Log in to continue reading the full content