Q26
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: hawk 59 elf 73 fox 16 gull 28
Step 1: elf hawk 59 73 fox 16 gull 28
Step 2: elf 16 hawk 59 73 fox gull 28
Step 3: elf 16 fox hawk 59 73 gull 28
Step 4: elf 16 fox 28 hawk 59 73 gull
Step 5: elf 16 fox 28 gull hawk 59 73
Step 6: elf 16 fox 28 gull 59 hawk 73
Step 6 is the last step of the above input.
Given the Input: gull 73 fox 16 hawk 28 elf 59
How many steps will be required to complete the arrangement?
Correct Option: B
Detailed Solution
Following the rule of arranging words alphabetically and numbers ascending alternatively, it takes 6 steps.
Community Discussion & Shortcut Formulas
User Generated Content