Problem 3474 · Hard

Lexicographically Smallest Generated String

Build the smallest word whose windows match a pattern of T and F constraints against a fixed string.

Open the interactive visualisation