Looking for good programming challenges?

Use the search below to find our solutions for selected questions!

Archive for August 2017

Letter combinations of a phone number challenge

Problem statement Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Sample input “23” Sample output [“ad”, “ae”, “af”, “bd”, “be”, “bf”, “cd”, “ce”, “cf”] Solution class Solution(object): def solve(self, . . . Read more