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 | 42 90 house 63 nest 77 lamp |
| Step I | house 90 42 63 nest 77 lamp |
| Step II | house 90 lamp 77 42 63 nest |
| Step III | house 90 lamp 77 nest 63 42 |
Following the same rule, the machine is given this input: 59 owl year 51 rose 95 83
Which step is the last step for this input?
- A Step I
- B Step V
- C Step III Correct
- D Step IV
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: owl 95 59 year 51 rose 83; Step II: owl 95 rose 83 59 year 51; Step III: owl 95 rose 83 year 59 51.
Answer: Step III
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!