Q16
A word and number arrangement machine, when given an input line of words and numbers, rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement.
Input: pig 36 moon 49 nest 18 owl 27
Step 1: moon pig 36 49 nest 18 owl 27
Step 2: moon 18 pig 36 49 nest owl 27
Step 3: moon 18 nest pig 36 49 owl 27
Step 4: moon 18 nest 27 pig 36 49 owl
Step 5: moon 18 nest 27 owl pig 36 49
Step 6: moon 18 nest 27 owl 36 pig 49
Step 6 is the last step of the above input.
Given the Input: owl 49 nest 18 pig 27 moon 36
How many steps will be required to complete the arrangement?
Correct Option: D
Detailed Solution
Following the rule of arranging words alphabetically and numbers ascending alternatively, it takes 6 steps.
Community Discussion & Shortcut Formulas
User Generated Content