Multi-tap Keypad Text Entry
This is a fun code to show how many taps were required to send messages via numeric keypads.
*Featured Code Submitted and Created By VENOM666
# Multi-tap Keypad Text Entry (from Codewars)
# by: VENOM666
Prior to having fancy iPhones, teenagers would wear out their thumbs sending SMS messages on candybar-shaped feature phones with 3x4 numeric keypads.
Prior to the development of T9 (predictive text entry) systems, the method to type words was called "multi-tap" and involved pressing a button repeatedly to cycle through the possible values.
For example, to type a letter "R" you would press the 7 key three times (as the screen display for the current character cycles through P->Q->R->S->7). A character is "locked in" once the user presses a different key or pauses for a short period of time (thus, no extra button presses are required beyond what is needed for each letter individually). T…