# Stack samples to trace: coding interview question

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/5789/convert-stack-samples-to-trace
Source observed: 2026-11-05T00:43:21.191Z
Last checked: 2026-11-05T00:43:21.191+00:00
Indexed: 2026-11-06T16:21:27.985+00:00

---

# Stack samples to trace: coding interview question

We provide interview-preparation resources through Aced, formerly Exponent. This page contains a coding question asking candidates to **write a function that converts stack samples into a trace**, using example inputs and outputs, in a **Google Colab environment**.

## Question details

- **Question:** Write a function that converts stack samples into a trace, given example inputs and outputs, in a Google Colab environment.
- **Roles:** [Software Engineer](https://www.aced.io/questions?role=swe) (2), [AI Engineer](https://www.aced.io/questions?role=ai-engineer)
- **Company:** [Anthropic](https://www.aced.io/questions?company=anthropic) (3)
- **Category:** [Coding](https://www.aced.io/questions?type=coding)
- **Reported last asked:** 5 months ago
- **Question status:** The page includes controls to mark the question as asked, save it, submit an answer, and mark it complete.

The page does not include the example inputs, example outputs, or a solution. It identifies Google Colab as the environment for solving the problem.

## Interview experiences

One interview experience is associated with this question. It concerns **Anthropic** and is labeled **Software Engineer · Staff / L6**. The contributor shared it **a year ago**:

> I applied, and did a normal recruiter screen followed by a coding phone screen. After I passed that, hiring paused for the team, and then time passed until a different recruiter picked me back up for a virtual onsite. My onsite was a coding round, a system design round, a hiring manager round, a culture round, and a one-person technical presentation. At the time the question bank was small enough that I basically knew the kinds of questions coming, but Anthropic was one of my first loops, so I wasn't as sharpened as I should have been. I got pretty close but didn't get the offer, and my read is that the system design round hurt me the most.

Read the full [Anthropic Staff Software Engineer interview experience](https://www.aced.io/experiences/anthropic-staff-software-engineer-interview-9bfb57).

## Community answers

No answers have been contributed by the community yet. You can log in or sign up to answer the question.

## Related courses

### [AI Engineering Interview Prep](https://www.aced.io/courses/ai-engineering)

![AI Engineering Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/25mhKSvDOiCwC89lDj89Ah/9a5fbfacc8d93f05c238ab55baa4e5e5/fde.png?w=800&h=800&fm=webp&q=75)

We cover AI engineering interviews at companies such as Google, Anthropic, Meta, and OpenAI with detailed frameworks, example questions, and mock interviews with senior engineers. The course includes practice in system design, AI/ML concepts, AI-assisted coding, and behavioral rounds.

### [Generative AI Interviews](https://www.aced.io/courses/gen-ai-interviews)

![Generative AI Interviews](https://images.ctfassets.net/x78yjrjc11pq/BLBU7an1PjT0Mt2ZzAfDa/60e119c8bff0cfb8281dcb497177f6e3/AdobeStock_1510292201-min.jpeg?w=800&h=800&fm=webp&q=75)

We help candidates prepare for interviews at AI-first and AI-powered companies. The course covers explaining how generative AI works, where it fails, and how to use it responsibly; how technology companies build and deploy AI products; and production topics including LLMs, retrieval-augmented generation (RAG) systems, and real-world deployment.

## Other Aced resources

We offer interview courses and practice resources across these areas:

- [Product Management](https://www.aced.io/courses/pm?src=nav) — Ace product interviews from strategy cases to technical skills.
- [Forward Deployed](https://www.aced.io/courses/forward-deployed-engineering?src=nav) — Beta preparation for FDE loops at Anthropic, OpenAI, Palantir, and more.
- [Engineering Management](https://www.aced.io/courses/engineering-management?src=nav) — Review leadership and people-management skills.
- [Software Engineering](https://www.aced.io/courses/software-engineering?src=nav) — Learn strategies for coding problems and more.
- [System Design](https://www.aced.io/courses/system-design-interviews?src=nav) — Define architectures, interfaces, and databases in a time-constrained interview.
- [Data Science](https://www.aced.io/courses/data-science?src=nav) — Execute statistical techniques and experimentation effectively.
- [Machine Learning](https://www.aced.io/courses/ml-engineer?src=nav) — Review building, evaluating, and deploying AI/ML models.
- [Data Engineering](https://www.aced.io/courses/data-engineering?src=nav) — Design complex data models and ETL pipelines.
- [Investment Banking](https://www.aced.io/ib?src=nav)
- [Generative AI](https://www.aced.io/courses/gen-ai-interviews?src=nav)
- [Security Engineer](https://www.aced.io/courses/security-engineer?src=nav)
- [TPM](https://www.aced.io/courses/tpm?src=nav)
- [Solutions Architect](https://www.aced.io/courses/solution-architect-interview?src=nav)
- [UX / Product Design](https://www.aced.io/courses/product-designer-interview?src=nav)
- [BizOps & Strategy](https://www.aced.io/courses/bizops?src=nav)
- [View all courses](https://www.aced.io/courses?src=nav)

Our broader resources include [Loops](https://www.aced.io/guides?src=nav), [Experiences](https://www.aced.io/experiences?src=nav), [Questions](https://www.aced.io/questions?src=nav), and [Practice](https://www.aced.io/practice?src=nav). We also offer [Mock Interviews & Coaching](https://www.aced.io/coaching?category=mock_interviews&src=nav), [Resume Review](https://www.aced.io/resume?src=nav), and [Salary Negotiation](https://www.aced.io/coaching?category=negotiation&src=nav).

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F5789%2Fconvert-stack-samples-to-trace&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F5789%2Fconvert-stack-samples-to-trace). Opening a form does not execute a tool.