Find the longest running sequence of a character among all possible permutations of the strings in the array -- Amazon