Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Begin search after the last found solution in Clear category for Words Order by robert.bedner
def words_order(text: str, words: list) -> bool:
if len(words) > len(set(words)):
return False
i = 0
for w in words:
if w not in text[i:]:
return False
i += text[i:].find(w) + len(w) + 1
return True
Jan. 18, 2022
Comments: