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: 92 56 nest drum 25 51 fish rain
Step I: drum 92 56 nest 25 51 fish rain
Step II: drum 92 fish 56 nest 25 51 rain
Step III: drum 92 fish 56 nest 51 25 rain
Step IV: drum 92 fish 56 nest 51 rain 25
Following the same rule, the machine is given this input: desk 23 36 ink rain 17 66 year
In Step IV, which element is 4th from the left end?
- A 66
- B 36 Correct
- C 23
- D 17
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: desk 66 23 36 ink rain 17 year; Step II: desk 66 ink 36 23 rain 17 year; Step III: desk 66 ink 36 rain 23 17 year; Step IV: desk 66 ink 36 rain 23 year 17.
Answer: 36
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!