Given a string and words, find starting indices of substring that is concatenation of each word exactly once.
Sample Input:
"barfoothefoobarman", ["foo","bar"]
Hints
Hint 1
Try all permutations of words as possible concatenations
Hint 2
Check each permutation in the string
Hint 3
Use sliding window with word length for efficiency