# Letter combinations from a phone keypad digit string

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/6359/generate-letter-combinations-phone-keypad
Source observed: 2026-11-04T23:46:11.006Z
Last checked: 2026-11-04T23:46:11.006+00:00
Indexed: 2026-11-06T16:46:30.722+00:00

---

# Letter combinations from a phone keypad digit string

We publish this coding interview question for candidates preparing for software engineering interviews. Given a string containing digits from **2 through 9** and the classic phone-keypad mapping, return every possible letter combination represented by the number.

## Question details

- **Category:** [Data Structures & Algorithms](https://www.aced.io/questions?type=algorithms)
- **Also tagged:** [Coding](https://www.aced.io/questions?type=coding)
- **Role:** [Software Engineer](https://www.aced.io/questions?role=swe)
- **Company:** [Amazon](https://www.aced.io/questions?company=amazon)
- **Reported last asked:** 9 months ago

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

## Interview experience

One interview experience is associated with this question:

[Amazon · 9 months ago](https://www.aced.io/experiences/amazon-software-engineer-interview-39a0db)

> I interviewed for an SDE II role, and the whole process felt pretty standard and transparent. Amazon told me upfront what the process would look like, so I did not feel like I was guessing what came next: first an online assessment, then three 40-minute interviews back to back on the same day. The technical questions were all very classic problems, and the biggest surprise was that my interviewers often started with coding first instead of spending the first part on behavioral. The behavioral side was still important, but the follow-ups went deep into the actual details of my work instead of stopping at a polished STAR answer. After the loop, my recruiter mostly asked about logistics like start date and work authorization, and then they sent me the offer letter.
>
> — Software Engineer · Mid Level / L4

## Community answers

No answers have been contributed by the community yet. Sign in or create an account to submit an answer.

## Related questions

- [Count total possible combinations of N-digit numbers in a mobile keypad.](https://www.aced.io/questions/1174/total-combinations-n-digit-numbers-mobile-keypad)
- [Given two strings (Word 1 and Word 2) and a list of valid words from a dictionary, return the minimum number of operations required to convert Word 1 to Word 2.](https://www.aced.io/questions/1980/minimum-operations-convert-string)
- [Given two strings, return true if you could change 2 letters in the s string and return the goal string. If this isn't possible, return false.](https://www.aced.io/questions/4344/buddy-strings)

## Related courses

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

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

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

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

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

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

## Submit an answer

Use **Your answer** and select **Submit** to mark the question complete. You must log in or sign up to answer.

---

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