# Coding interview question: delete the k-th node from the end of a linked list

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/4847/remove-kth-node-linked-list
Source observed: 2026-11-05T00:59:53.148Z
Last checked: 2026-11-05T00:59:53.148+00:00
Indexed: 2026-11-06T18:18:22.361+00:00

---

# Given a head node of a linked list, delete k-th node from the end of the list.

We provide this coding interview question for **Data Structures & Algorithms** and **Coding** practice.

- Roles: [Machine Learning Engineer](https://www.aced.io/questions?role=ml-engineer), [Software Engineer](https://www.aced.io/questions?role=swe)
- Company: [Meta](https://www.aced.io/questions?company=meta-facebook) — 2 interviews
- Reported last asked: **2 years ago**
- Detailed company statistics are available through [Upgrade](https://www.aced.io/upgrade?src=questions).
- [Log in or sign up to answer this question](https://www.aced.io/signup?src=nav&returnPath=/questions/4847/remove-kth-node-linked-list).

## Community answers

No answers have been contributed by the community yet.

## Related courses

![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)

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

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

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

### [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 top companies through mock interviews, frameworks, advice from senior candidates, and practice in data structures, algorithms, system design, people management, behavioral interviews, and more.

## Your answer

Submitting marks this question complete.

---

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