# Linked-list intersection interview question | Aced

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/4634/linked-lists-intersection
Source observed: 2026-11-05T00:14:16.650Z
Last checked: 2026-11-05T00:14:16.65+00:00
Indexed: 2026-11-06T22:08:06.738+00:00

---

# Linked-list intersection interview question

We provide interview-preparation questions, interview experiences, community answers, and related courses through Aced (formerly Exponent).

## Question

> Given the head of two singly linked lists, write a function to return the point where they intersect (if any).

This is a **Data Structures & Algorithms** coding question. It was last reported as asked **2 years ago**. The page associates it with these roles and companies:

### Roles

- [Software Engineer](https://www.aced.io/questions?role=swe) — 3
- [Machine Learning Engineer](https://www.aced.io/questions?role=ml-engineer)
- [Data Scientist](https://www.aced.io/questions?role=data-science)
- [Data Engineer](https://www.aced.io/questions?role=data-engineer)
- [QA Engineer](https://www.aced.io/questions?role=qa-engineer)

### Companies

- [Visa](https://www.aced.io/questions?company=visa) — 2
- [Nvidia](https://www.aced.io/questions?company=nvidia)
- [Airbnb](https://www.aced.io/questions?company=airbnb)
- [TikTok](https://www.aced.io/questions?company=tiktok)
- [Goldman Sachs](https://www.aced.io/questions?company=goldman-sachs)
- Amazon

### Categories

- [Data Structures & Algorithms](https://www.aced.io/questions?type=algorithms&filterBy=codeEditor&src=nav)
- [Coding](https://www.aced.io/questions?type=algorithms&filterBy=codeEditor&src=nav)

Detailed company statistics are available through [Upgrade](https://www.aced.io/upgrade?src=questions).

## Interview experiences

There is **1 shared interview experience** associated with this question.

### Amazon · 2 years ago

A **QA Engineer · Mid Level / L4** described the experience as follows:

> Recruiter was super helpful throughout the process helping me navigate through the process and super responsive whenever I had any questions. Lot of interesting questions asked to test problem solving + LPs related questions can sometimes put you on spot in revealing things that you don't want to. Overall it was a good experience and recruiter reached out to me after a week.

## Community answers

No answers have been contributed by the community yet. You can [log in or sign up](https://www.aced.io/signup?src=nav&returnPath=/questions/4634/linked-lists-intersection) to answer this question.

## Related questions

- [Given an array of points on a plane (x,y), write a function to return the distance between the closest pair of points.](https://www.aced.io/questions/4630/closest-pair)
- [Given a list of bounding boxes and annotations, write a function to compute Intersection over Union.](https://www.aced.io/questions/6596/compute-intersection-over-union-bounding-boxes)
- [Given a Directed Acyclic Graph (DAG), write a function to return the length of the longest path.](https://www.aced.io/questions/3434/find-longest-path-in-dag)

## Related courses

### [Machine Learning Engineer Interview Prep](https://www.aced.io/courses/ml-engineer)

![Machine Learning Engineer Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/6UfkHxUyLQVfDHSfLNQtWa/1be1539a65b4f6f15201f5b573c0a578/ML_Engineer_Interview_Prep_Course.jpeg?w=800&h=800&fm=webp&q=75)

We help candidates prepare for machine learning roles at Meta, Google, Amazon, Apple, Microsoft, Nvidia, and other companies with mock interviews, frameworks, and advice from senior candidates. The course covers ML system design, core concepts, coding, behavioral interviews, and more.

### [Data Science Interview Prep](https://www.aced.io/courses/data-science)

![Data Science Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/3U4C5C0OkDR0UeGch4AmlE/7ad489430b676a088cb973307fe77884/Data_Science_Interview_Prep_Course.jpeg?w=800&h=800&fm=webp&q=75)

We help candidates prepare for data science roles at Google, Amazon, Microsoft, Meta, Apple, and other companies with mock interviews, frameworks, and advice from senior candidates. The course includes statistics, experimentation, coding, SQL, machine learning, behavioral interviews, and more.

## Submit an answer

Submitting marks this question complete. The answer form requires logging in or signing up.

## Aced interview-preparation areas

Our available areas include:

- [Courses](https://www.aced.io/courses?src=nav), including [Product Management](https://www.aced.io/courses/pm?src=nav), [Forward Deployed](https://www.aced.io/courses/forward-deployed-engineering?src=nav), [Engineering Management](https://www.aced.io/courses/engineering-management?src=nav), [Software Engineering](https://www.aced.io/courses/software-engineering?src=nav), [System Design](https://www.aced.io/courses/system-design-interviews?src=nav), [Data Science](https://www.aced.io/courses/data-science?src=nav), [Machine Learning](https://www.aced.io/courses/ml-engineer?src=nav), [Data Engineering](https://www.aced.io/courses/data-engineering?src=nav), [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).
- [Loops](https://www.aced.io/guides?src=nav)
- [Experiences](https://www.aced.io/experiences?src=nav)
- [Practice](https://www.aced.io/practice?src=nav)
- [Coaching](https://www.aced.io/coaching?src=nav), including [mock interviews and 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)
- [Pricing](https://www.aced.io/upgrade?src=nav)

Aced is formerly Exponent. [Return to all questions](https://www.aced.io/questions).

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F4634%2Flinked-lists-intersection&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%2F4634%2Flinked-lists-intersection). Opening a form does not execute a tool.