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 | nest 60 house 66 umbrella 82 17 |
| Step I | nest 60 66 umbrella 82 17 house |
| Step II | 60 66 umbrella 82 17 nest house |
| Step III | 60 66 82 17 umbrella nest house |
Following the same rule, the machine is given this input: 14 31 coin night 43 pen 64
Which step is the last step for this input?
- A Step III Correct
- B Step V
- C Step IV
- D Step I
Rule (from the illustration): In each step the word that comes first in the dictionary, of those not yet arranged, moves to the right end, before the words already arranged; numbers keep their order.
For the new input: Step I: 14 31 night 43 pen 64 coin; Step II: 14 31 43 pen 64 night coin; Step III: 14 31 43 64 pen night coin.
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!