Solve SubstringWithConcatenationOfAllWords, but it times out on the largest test case.