Q71
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: lip 77 ice 99 jam 33 keg 55
Step 1: ice lip 77 99 jam 33 keg 55
Step 2: ice 33 lip 77 99 jam keg 55
Step 3: ice 33 jam lip 77 99 keg 55
Step 4: ice 33 jam 55 lip 77 99 keg
Step 5: ice 33 jam 55 keg lip 77 99
Step 6: ice 33 jam 55 keg 77 lip 99
Step 6 is the last step of the above input.
Given the Input: keg 99 jam 33 lip 55 ice 77
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