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 | house 46 95 rain 26 eagle 78 |
| Step I | house 46 95 rain 26 78 eagle |
| Step II | 46 95 rain 26 78 house eagle |
| Step III | 46 95 26 78 rain house eagle |
Following the same rule, the machine is given this input: flag 40 47 bell fish 26 34
Which of the following is Step I?
- A flag 40 47 bell fish 26 34
- B flag 40 47 fish 26 34 bell Correct
- C flag 40 47 26 34 fish bell
- D bell 34 26 fish 47 40 flag
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: flag 40 47 fish 26 34 bell; Step II: flag 40 47 26 34 fish bell; Step III: 40 47 26 34 flag fish bell.
Answer: flag 40 47 fish 26 34 bell
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!