Twilio OA 2024 | Vanity Phone Numbers & Telecom Call Routing
Question · Posted Jun 2026
Problem 1 - Vanity Phone Numbers Problem Statement You are given: An array phoneNumbers containing phone numbers. An array vanityCodes containing uppercase alphabetic codes. Using the standard T9 keypad mapping: 2 → ABC 3 → DEF 4 → GHI 5 → JKL 6 → MNO 7 → PQRS 8 → TUV 9 → WXYZ Convert each vanity code into its numeric equivalent. Return all phone numbers that contain the numeric representation of at least one vanity code. The result must ...
The full answer & interview discussion are available to premium members.
Log in Create a free account