Problem 555 · Medium

Split Concatenated Strings

Given a concatenated string with embedded numbers indicating split points, extract all words and find the lexicographically largest rotation of any word.

Open the interactive visualisation