solulubeta
Sign in
NeetCode 150 / Backtracking
10.08 · Problem

Letter Combinations of a Phone Number

Medium Backtracking over digits 1 video LC 17 Pro

This problem is part of solulu Pro

Given a string of digits 2–9, return every letter string it could represent on a phone keypad (2 → abc, 3 → def, 4 → ghi, 5 → jkl, 6 → mno, 7 → pqrs, 8 → tuv, 9 → wxyz), in any order. An empty input gives an empty list.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 78 of 150 · updated 2026-10-12