Error:
Do not know how to do. It use mapping to map the index of S, then use binary search to get every index of words the know if current index is exist or not. Then update current last index
Error:
Do not know how to do. It use mapping to map the index of S, then use binary search to get every index of words the know if current index is exist or not. Then update current last index