About 16,500 results
Open links in new tab
  1. How can I print out all possible letter combinations a given phone ...

    I just tried for my first programming interview and one of the questions was to write a program that given a 7 digit telephone number, could print all possible combinations of letters that each num...

  2. java - From text to digits - Stack Overflow

    On your phone keypad and old ones, the alphabets are mapped to digits as follows: ABC(2), DEF(3), GHI(4), JKL(5), MNO(6), PQRS(7), TUV(8), WXYZ(9). Write a program ...

  3. print python dictionary in particular style - Stack Overflow

    Sep 10, 2022 · How to print a Python dictionary in this given pattern. I was asked this question in an interview and I couldn't solve it. Input dictionary: …

  4. Telephone Number to Words - Permutation - C# - Stack Overflow

    Jun 28, 2014 · 2-ABC, 3-DEF, 4-GHI, 5-JKL, 6-MNO, 7-PQRS, 8-TUV, 9-WXYZ, 0-O For example, one permutation of 652-7872 is JGAJAPP. I have seen similar questions answered, …

  5. regex - extract substring with SED - Stack Overflow

    May 7, 2020 · input1 = abc-def-ghi-jkl input2 = mno-pqr-stu-vwy I want extract the first word between "-" for the fisrt string I want to get: def if the input is the second string, I want to get: …

  6. Converting letters to digits using phone standard - Stack Overflow

    Only starting Java, need a program to convert the letter on the button of a mobile phone into a number. e.g. a=2 or v=8. I've tried a few approaches, it compiles alright but wont give me the …

  7. Splitting string into groups of specific length - Stack Overflow

    Aug 3, 2012 · def split_by_len(text, chunksize): return [text[i:(i+chunksize)] for i in range(len(text)-chunksize+1)]

  8. Dynamically import a method in a file, from a string

    Jan 9, 2012 · importlib.import_module('abc.def.ghi.jkl.myfile.mymethod') Update: Updated version according to comments (I must admit I didn't read the string to be imported till the end and I …

  9. sql - Oracle Pipe delimited column - Stack Overflow

    Nov 25, 2024 · I have a requirement to get the data from table based on some condition. Column1 Column2 ABC|DEF|GHI|JKL|XYZ Y|Y|N|N|Y ABC|JKL|XYZ Y|Y|N GHI|XYZ Y|Y GHI|JKL N|Y …

  10. Parsing Character String in R - Stack Overflow

    Aug 31, 2017 · 1 abc def. ghi jkl mno pqr TRUE 2 stu vwx. FALSE 3 yza bcd. efg hij mno klm TRUE 4 nop qrs. FALSE 5 tuv wxy.