The interview problem
Two customer systems display the same name but fail to join records. Investigate Unicode representation without corrupting identifiers.
Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.
1. Scope and worked approach
Assume human-readable labels and opaque external IDs coexist. Inspect code points using synthetic or approved samples, distinguishing composed/decomposed forms, case and invisible characters. Agree a normalization policy only for fields whose semantics allow it. Preserve raw source values and stable opaque IDs. Run a collision report before backfilling normalized lookup keys; customer owners must resolve ambiguous merges.
2. Trace the design or derivation
Inspect raw code points → classify field semantics → propose normalization → find collisions → migrate keys
Produce a before/after mapping report that includes collision groups, not just a successful row count. Keep a rollback path from normalized keys to raw source values. A customer-facing explanation should use a visible example of equivalent text while warning internally that normalization is not an identity-resolution algorithm.
3. Calculate the example
The displayed character é may be one code point U+00E9 or e followed by U+0301. Both can render similarly while byte strings differ. Normalizing these labels can help matching, but normalizing an opaque signed token can change its bytes and invalidate verification.
4. Failure cases and trade-offs
Compatibility normalization and case folding can merge names the customer considers distinct. Visual confusables are not fully solved by normalization. A strict raw match preserves identity but increases manual reconciliation; a normalized search key can assist users without becoming the authoritative identifier.
5. Validation, follow-ups and self-review
Test composed accents, mixed scripts, whitespace and collision fixtures. Follow-up: how would you migrate existing uniqueness constraints? Self-review: separate display text, lookup keys and immutable identity.
Sources and related practice
Technical reference: unicode.org — Canonical and compatibility normalization distinctions.
Source publication/update: Not established. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.
Continue with Repair a CSV import that silently changes identifiers; Resolve customer entities across noisy records.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.