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 | fish 17 ship 43 owl 49 55 |
| Step I | 55 fish 17 ship 43 owl 49 |
| Step II | 55 49 fish 17 ship 43 owl |
| Step III | 55 49 43 fish 17 ship owl |
| Step IV | 55 49 43 17 fish ship owl |
Following the same rule, the machine is given this input: drum 46 30 desk rain 12 74
Which of the following is Step IV?
- A 74 46 30 12 drum desk rain Correct
- B 46 74 30 12 drum desk rain
- C rain desk drum 12 30 46 74
- D 74 46 30 drum desk rain 12
Rule (from the illustration): In each step the largest 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: 74 drum 46 30 desk rain 12; Step II: 74 46 drum 30 desk rain 12; Step III: 74 46 30 drum desk rain 12; Step IV: 74 46 30 12 drum desk rain.
Answer: 74 46 30 12 drum desk rain
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!