Replace 'xy' with 'yyx'
Filed under GAP
The question
Given a string of 'x' and 'y', find the minimum operations to replace all 'xy' substrings with 'yyx' until no 'xy' remains.
No write-up yet. Related questions below have one.
Related GAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.