Maximum length of string formed by T+T after deletions
Filed under Walmart
The question
Given a string S, find the maximum length of S after deleting some or no characters such that the resulting string is in the form T+T, where T is a substring.
No write-up yet. Related questions below have one.
Related Walmart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.