Blocked website

In [this][1] problem what does prefix mean ? Is it a string of continuous characters from the start of word to anywhere in between the word ?

I am not able to understand wording of this problem correctly
[1]: https://www.codechef.com/MAY17/problems/WSITES01

Please ask any doubts in the comment section of the problem or wait till the contest ends.

2 Likes

Generally it takes considerable amount of time until the author answer question in the comment section . And I am not asking for more test cases or something like that I am just clarifying the meaning of a word in the problem

1 Like

Yes what you are thinking is correct.
For example consider string “google”.
Then prefixes are

g

go

goo

goog

googl

google

2 Likes

Is google also a prefix?

Yes google is also a prefix

1 Like

Thanks, can you also clarify this statement : " there should be a filter that contains the name of blocked site(filter is a prefix of blocked site)." How can a filter contain name of blocked site ? for example in google the name is google

I think that was a typo.Read first 3 lines of the 3rd paragraph carefully.

1 Like