A word and number arrangement machine rearranges an input line step by step, following a rule. Here is an illustration of the input and the steps:
| Step | Arrangement |
|---|---|
| Input | umbrella hill lion 18 27 47 72 |
| Step I | hill 72 umbrella lion 18 27 47 |
| Step II | hill 72 lion 47 umbrella 18 27 |
| Step III | hill 72 lion 47 umbrella 27 18 |
Following the same rule, the machine is given this input: 32 toy 71 eagle 10 89 lamp
In Step III, which element is 3rd from the left end?
- A 71
- B toy
- C lamp Correct
- D 89
Rule (from the illustration): In each step the word that comes first in the dictionary moves to the left end, followed by the largest number, after the pairs already arranged.
For the new input: Step I: eagle 89 32 toy 71 10 lamp; Step II: eagle 89 lamp 71 32 toy 10; Step III: eagle 89 lamp 71 toy 32 10.
Answer: lamp
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!