Q36
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: palm 65 mist 87 nail 21 oak 43
Step 1: mist palm 65 87 nail 21 oak 43
Step 2: mist 21 palm 65 87 nail oak 43
Step 3: mist 21 nail palm 65 87 oak 43
Step 4: mist 21 nail 43 palm 65 87 oak
Step 5: mist 21 nail 43 oak palm 65 87
Step 6: mist 21 nail 43 oak 65 palm 87
Step 6 is the last step of the above input.
Given the Input: oak 87 nail 21 palm 43 mist 65
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