Problem 2014 · Hard

Longest Subsequence Repeated k Times

Find the longest subsequence that appears k times when a string is repeated. The visual builds candidate subsequences and checks each against the repeated string.

Open the interactive visualisation