I've been looking through random reviews on "Long Repeat" and I found one that doesn't work on very simple cases in the problem as specified. I thought maybe I was missing something but it doesn't work locally either...
Looking in the test strings that come up for my solution to the problem I find that there are none that would reject this particular program (just adding 'aaba' would do it).
Created at: 2019/08/27 21:53; Updated at: 2019/09/03 09:37