Leetcode_Q30_SubstringwithConcatenationofAllWords_Py