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:
Input: 41 93 owl queen 20 24 tree rain
Step I: owl 93 41 queen 20 24 tree rain
Step II: owl 93 queen 41 20 24 tree rain
Step III: owl 93 queen 41 rain 24 20 tree
Step IV: owl 93 queen 41 rain 24 tree 20
Following the same rule, the machine is given this input: 28 42 15 62 eagle pen bird oak
Which of the following is Step III?
- A pen 15 28 oak 42 eagle 62 bird
- B bird 62 eagle 42 oak 28 pen 15
- C bird 62 eagle 42 oak 28 15 pen Correct
- D bird 62 eagle 42 28 15 pen oak
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: bird 62 28 42 15 eagle pen oak; Step II: bird 62 eagle 42 28 15 pen oak; Step III: bird 62 eagle 42 oak 28 15 pen; Step IV: bird 62 eagle 42 oak 28 pen 15.
Answer: bird 62 eagle 42 oak 28 15 pen
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!