If the input is: apple 12 orange 7 banana 15 and the logic used is to arrange numbers in ascending order and words in alphabetical order, what would be Step 2?
Show answer & explanation
Correct answer: B
Explanation
Rule:
In each step, numbers are arranged in ascending order and words are arranged in alphabetical order.
Input : apple 12 orange 7 banana 15
Step 1: 7 apple 12 banana orange 15
Step 2: 7 apple 12 banana 15 orange
Hence, the correct answer is option 2.