Q51
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: log 41 ink 52 jar 20 key 32
Step 1: ink log 41 52 jar 20 key 32
Step 2: ink 20 log 41 52 jar key 32
Step 3: ink 20 jar log 41 52 key 32
Step 4: ink 20 jar 32 log 41 52 key
Step 5: ink 20 jar 32 key log 41 52
Step 6: ink 20 jar 32 key 41 log 52
Step 6 is the last step of the above input.
Given the Input: key 52 jar 20 log 32 ink 41
How many steps will be required to complete the arrangement?
Correct Option: C
Detailed Solution
Following the rule of arranging words alphabetically and numbers ascending alternatively, it takes 6 steps.
Community Discussion & Shortcut Formulas
User Generated Content