This question is based on the following information.
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 an input and its rearrangement. (All the given numbers are two digit numbers).
Input: quit 44 69 jelly 75 ankle 38 sensor bear 83
Step I: 83 quit 44 69 jelly 75 38 sensor bear ankle
Step II: 75 83 quit 44 69 jelly 38 sensor ankle bear
Step III: 69 75 83 quit 44 38 sensor ankle bear jelly
Step IV: 44 69 75 83 38 sensor ankle bear jelly quit
Step V: 38 44 69 75 83 ankle bear jelly quit sensor
Step V: is the last step of the arrangement for the above input.
As per the rules followed in the above steps, find out the appropriate steps for the given input and answer the following questions.
Input for the questions: “cake 49 aid 24 81 village 12 base pink 33 jungle 51 77 tissue”.
What would be the position of the word ‘pink’ from the left end in Step IV?
Show answer & explanation
Correct answer: C
Explanation
Logic/Pattern:
• In each step, the largest remaining number is shifted to the extreme left.
• Simultaneously, the alphabetically earliest remaining word is shifted to the extreme right.
Step-by-step rearrangement:
Input: cake 49 aid 24 81 village 12 base pink 33 jungle 51 77 tissue
• Step I: 81 cake 49 24 village 12 base pink 33 jungle 51 77 tissue aid
• Step II: 77 81 cake 49 24 village 12 pink 33 jungle 51 tissue aid base
• Step III: 51 77 81 49 24 village 12 pink 33 jungle tissue aid base cake
• Step IV: 49 51 77 81 24 village 12 pink 33 tissue aid base cake jungle
Counting elements from the left end in Step IV:
• 49
• 51
• 77
• 81
• 24
• village
• 12
• pink
Therefore, the word ‘pink’ is at the Eighth position from the left end.