finish leetcode 30 Substring with Concatenation of All words Problem