Problem 2573 · Hard

Find the String with LCP

Positions with a positive LCP must share a letter. Give each group a fresh letter, then rebuild the LCP table to confirm the word.

Open the interactive visualisation