โ† Newfold Digital questions

Minimize a string of a, b, c by removing equal prefix and suffix characters

Filed under Newfold Digital

The question

Given a lowercase string of a, b and c, split it so that identical characters at the prefix and suffix can be removed, and minimize the final string.

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

Related Newfold Digital questions

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