String Abbreviation Matching
Asked at Meta · Coding Questions · Difficulty: Medium · Last asked Oct 15, 2026
Given two strings, determine if the first string is an abbreviation of the second string. An abbreviation is defined as replacing any non-empty substring of the string with a number, which represents the length of that substring. For example, 'i18n' is an abbreviation of 'internationalization'.
Loading the problem…
More Meta interview questions
- LLM conceptual questions
- Implement a Two-Hidden-Layer MLP with Backpropagation in NumPy
- Dot Product with Run-Length Encoded Vectors
- Count Lakes Wrapped by a Given Island
- Minimum Remove to Make Valid Parentheses
- LLM with Beam Search and Nucleus Sampling (Meta MSL)