โ† Meta questions

Validate compressed string against plaintext string

Filed under Meta

The question

Given a compressed string (where characters can be deleted and replaced by the count of deleted characters, e.g., FACEBOOK -> F6K or I18N) and a plaintext string, write a function to determine if the compressed string is valid for the plaintext string.

No write-up yet. Related questions below have one.

Related Meta questions

Collected from public candidate posts and coding forums. Updated Nov 2026.