# Maximum dependency depth — 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/3848/find-maximum-depth-dependencies-nodes
Source observed: 2026-11-05T01:32:36.818Z
Last checked: 2026-11-05T01:32:36.818+00:00
Indexed: 2026-11-07T03:18:51.939+00:00

---

# Maximum dependency depth

We provide interview preparation through Aced, formerly Exponent. This page contains a Software Engineer coding interview question in the **Data Structures & Algorithms** and **Coding** categories:

> Given a list of Nodes, each with a unique string id and a list of subnodes it depends on, find the maximum depth of the dependencies.

The question concerns **Amazon** and was last reported as asked **3 years ago**. You can [view all questions](https://www.aced.io/questions), and you can [log in or sign up to answer](https://www.aced.io/signup?src=nav&returnPath=/questions/3848/find-maximum-depth-dependencies-nodes). Submitting an answer marks the question complete.

Detailed company statistics for this question require [an upgrade](https://www.aced.io/upgrade?src=questions). The page currently has **no community answers contributed**.

## Related questions

- [Determine whether all jobs can be completed given job dependencies](https://www.aced.io/questions/5044/job-dependency-scheduling-cycle-detection)
- [Find the maximum-length sub-array with a given sum](https://www.aced.io/questions/1115/find-maximum-length-sub-array-with-given-sum)
- [Find the maximum sum of a subsequence with no adjacent elements](https://www.aced.io/questions/1178/maximum-subsequence-sum-no-adjacents)

## Related courses

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

We help candidates prepare for software engineering roles at Google, Amazon, Microsoft, Meta, Apple, and other companies through mock interviews, frameworks, and advice from senior candidates. Topics include data structures, algorithms, system design, people management, and behavioral interviews.

![Software Engineering Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/4VkuYewBHUFIVUS5oJDW5h/02e833439b1289f25f38f13f81cbdca3/adobe_stock_optimized.jpeg?w=800&h=800&fm=webp&q=75)

### [System Design Interviews](https://www.aced.io/courses/system-design-interviews)

We teach candidates how to answer current system design questions across product, infrastructure, and AI domains. The course includes in-depth video examples, written breakdowns, reference patterns, and mock interview videos featuring senior engineers and managers.

![System Design Interviews](https://images.ctfassets.net/x78yjrjc11pq/78x7miFZFjBCrM5GqftrMJ/2f6d26e632c4e7265c49f6a180227edb/system_design_track_compressed_26ac98a46e__281_29_5be2280f31.jpeg?w=800&h=800&fm=webp&q=75)

## Available preparation areas

Our linked preparation categories include:

- [Product Management](https://www.aced.io/courses/pm?src=nav) — strategy cases and 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) — leadership and people-management skills
- [Software Engineering](https://www.aced.io/courses/software-engineering?src=nav) — coding-problem strategies
- [System Design](https://www.aced.io/courses/system-design-interviews?src=nav) — architectures, interfaces, and databases
- [Data Science](https://www.aced.io/courses/data-science?src=nav) — statistical techniques and experimentation
- [Machine Learning](https://www.aced.io/courses/ml-engineer?src=nav) — building, evaluating, and deploying AI/ML models
- [Data Engineering](https://www.aced.io/courses/data-engineering?src=nav) — data models and ETL pipelines

Additional courses include [AI Engineering](https://www.aced.io/courses/ai-engineering?src=nav), [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), and [BizOps & Strategy](https://www.aced.io/courses/bizops?src=nav).

## Other Aced services

We also offer [practice](https://www.aced.io/practice?src=nav), [mock interviews and coaching](https://www.aced.io/coaching?category=mock_interviews&src=nav), [resume review](https://www.aced.io/resume?src=nav), [salary negotiation](https://www.aced.io/coaching?category=negotiation&src=nav), [job referrals](https://www.aced.io/jobs/referrals?src=nav), and [pricing](https://www.aced.io/upgrade?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%2F3848%2Ffind-maximum-depth-dependencies-nodes&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%2F3848%2Ffind-maximum-depth-dependencies-nodes). Opening a form does not execute a tool.