av1shek / All-Coding-Platform-Solutions

Repository accepting PR for Hactoberfest 2022
21 stars 128 forks source link

LeetCode Q.17. Letter Combinations of a Phone Number #187

Closed Aryan20apr closed 1 year ago

Aryan20apr commented 1 year ago

This Question uses back-tracking and is as follows: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any order.

A mapping of digits to letters is just like on the telephone buttons. Note that 1 does not map to any letters.