(Java) 13.8 Variant 1

#1

I have a question regarding this problem. It’s written that the set if strings is small and can be kept in RAM. So is the set of ketwords in the original problem too. What is different? Or by the set of strings you mean you read the stream and it contains few different words?

0 Likes

#2

It means the paragraph text can be read one time instead of multiple times, and you shall realize that the original algorithm won’t work since it read paragraph multiple times to solve the problem.

0 Likes