Shell Interview Question

Sort the letter, memorize the pattern