Problem 3744 · Medium

Find Kth Character in Expanded String

Walk the expanded words block by block to find the character at a chosen index, without building the string.

Open the interactive visualisation