Input : am ace all if Is
Which of the following will be Step II for the given input ?
Answer: D
Clearly, in the given arrangement, the words have been arranged alphabetically in a
sequence, altering the position of only one word in each step.
Input: am ace all if Is
Step I : ace am all if Is
Step II : ace all am if Is