use 2 Maps to get Substring with Concatenation of All Words