Input: blue 42 rose 71 violet 13 orange
Which of the following would be Step 3 if the logic is:
Step 1: Alphabetical arrangement of words from left
Step 2: Numbers arranged in descending order from the end?
Show answer & explanation
Correct answer: B
Explanation
Rule:
Words arranged in alphabetical order first, then numbers arranged in descending order at the end.
Step 1:Blue Rose Violet Orange 42 71 13
Step 2:Blue Orange Rose Violet 42 71 13
Step 3:Blue Orange Rose Violet 71 42 13
Hence, the correct answer is option 2.