Astha369 / CPP_Problems

https://github.com/Astha369/CPP_Problems
4 stars 41 forks source link

Create LetterCombinationsofPhoneNumber.cpp #87

Closed shubh1777 closed 1 year ago

shubh1777 commented 1 year ago

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 (just like on the telephone buttons) is given below. Note that 1 does not map to any letters. i.e Issue #85 Fixes #85