Words Order

Words Order

您有一段文字和一串单词。您需要检查单词序列是否与给定文本中的顺序相同。

example

在解决这个问题时,您可能会遇到以下情况

  • 序列中的某个单词不在文本中 - 您的函数应返回 False;
  • 任何单词在文本中都可能出现不止一次 - 只使用第一个单词;
  • 给定序列中的两个单词相同 - 您的函数应返回...
  • 文本只包含英文字母和空格。
You should be an authorized user in order to see the full description and start solving this mission.
40