Problem 3926 · Medium

Count Valid Word Occurrences

Join the chunks, split the text into words at separators, and count each query as a whole word.

Open the interactive visualisation