Merge the Tools!
Consider the following:
A string, s, of length n where s = c0 c1 c2…cn-1.
An integer,k , where k is a factor of n.
We can split s into n/k substrings where each subtring, ti, consists of a contiguous block of k characters in s. Then, use each ti to create string ui such…