Akamai Interview Question

Based on permutation of character in an array