CodingReported in a candidate post, May 2024
Find the shortest unique substring for every string in a list
Filed under Affirm
The question
Given a list of strings, find for each string the shortest substring that appears only in that string.
No write-up yet. Related questions below have one.
Related Affirm questions
Collected from public candidate posts and coding forums. Updated Nov 2026.