Coding

Valid Word Abbreviation

Determine if a string matches a valid word abbreviation.

Input: word = "apple", abbr = "a2e"

Output: FALSE

Explanation: The abbreviation claims exactly 2 characters are skipped between 'a' and 'e', but "ppl" is actually 3 characters long.

Was asked at

Practice this question with AI

First session is free - no credit card required.

Go Premium

More interviews, more skills, more success.

Practice More Questions

1 answer published. Last candidate submission on May 7 2026, 11:55pm PDT. Interview question asked to Software Engineers interviewing at Tink, Vodafone, ZipRecruiter and other companies. Original question asked: Valid Word Abbreviation. Question last reported by a candidate interviewing at CodeSignal for a Software Engineer interview on Jul 28 2026, 9:13pm PDT.