# Grid paths: move right or down from the top-left to the bottom-right

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/7342/list-paths-grid-right-down
Source observed: 2026-11-04T22:50:06.719Z
Last checked: 2026-11-04T22:50:06.719+00:00
Indexed: 2026-11-06T00:40:54.245+00:00

---

# Grid paths: move right or down from the top-left to the bottom-right

We publish this coding interview question in our **Data Structures & Algorithms** and **Coding** collections. The problem asks you to return every path through an `n × n` grid from the top-left corner to the bottom-right corner when the only permitted moves are right and down.

- **Role:** [Machine Learning Engineer](https://www.aced.io/questions?role=ml-engineer)
- **Company:** [Meta](https://www.aced.io/questions?company=meta-facebook)
- **Category:** [Data Structures & Algorithms](https://www.aced.io/questions?type=algorithms)
- **Additional category:** [Coding](https://www.aced.io/questions?type=coding)
- **Reported last asked:** 2 years ago
- **Interview reports:** 1

## Interview experience

One community-submitted experience is associated with this question:

[Meta · 2 years ago](https://www.aced.io/experiences/meta-facebook-machine-learning-engineer-interview-32229f)

> “It had 1 Phone screen with 2 leetcode style questions the loop had: 1 behavioral 2 leetcode style rounds 1 ml system design (with 1 more follow up)”

**Role and level:** Machine Learning Engineer · Mid Level / L4

## Community answers

No answers have been contributed by the community yet. Sign in or create an account to answer the question. Submitting an answer marks the question complete.

[Sign up](https://www.aced.io/signup?src=nav&returnPath=/questions/7342/list-paths-grid-right-down) · [Log in](https://www.aced.io/login?src=nav)

## Related question

[Given the root of a binary tree, return the vertical order traversal of its node values from top to bottom, column by column. Nodes in the same row and column should be ordered left to right.](https://www.aced.io/questions/4416/binary-tree-vertical-order-traversal)

## 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 top companies through mock interviews, frameworks, and advice from senior candidates. The course covers ML system design, core concepts, coding, behavioral interviews, and more.

### [Behavioral Interviews: A Practical Guide for Engineers](https://www.aced.io/courses/eng-behavioral)

![Behavioral Interviews: A Practical Guide for Engineers](https://images.ctfassets.net/x78yjrjc11pq/47qcoHjzFZXE37GoacedkB/9d8e3f4910d8b06b21e76745cd9cbff3/AdobeStock_1142146335.jpeg?w=800&h=800&fm=webp&q=75)

We help candidates prepare for senior and principal-level behavioral interviews at FAANG and Tier-1 companies. The course was made with staff and principal engineers from Meta, Netflix, Google, and more, and addresses downleveling, project presentation, and natural interview communication.

## Upgrade

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

## Browse our interview preparation resources

- [All Questions](https://www.aced.io/questions)
- [Courses](https://www.aced.io/courses?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)
- [Pricing](https://www.aced.io/upgrade?src=nav)
- [Job Referrals](https://www.aced.io/jobs/referrals?src=nav)
- [Resources](https://www.aced.io/resources?src=nav)

We are Aced, formerly Exponent. We provide interview courses, practice, coaching, interview experiences, and community questions for roles including product management, software engineering, system design, data science, machine learning, data engineering, and related fields.

---

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