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 | drum 10 40 moon pen 34 58 |
| Step I | 10 drum 40 moon pen 34 58 |
| Step II | 10 34 drum 40 moon pen 58 |
| Step III | 10 34 40 drum moon pen 58 |
| Step IV | 10 34 40 58 drum moon pen |
Following the same rule, the machine is given this input: pen 88 12 69 eagle 34 ink
Which of the following is Step II?
- A ink eagle 69 88 pen 34 12
- B 12 pen 88 69 eagle 34 ink
- C 12 34 pen 88 69 eagle ink Correct
- D 34 12 pen 88 69 eagle ink
Rule (from the illustration): In each step the smallest number not yet arranged moves to the left end, after the numbers already arranged; the words keep their order.
For the new input: Step I: 12 pen 88 69 eagle 34 ink; Step II: 12 34 pen 88 69 eagle ink; Step III: 12 34 69 pen 88 eagle ink; Step IV: 12 34 69 88 pen eagle ink.
Answer: 12 34 pen 88 69 eagle ink
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!