These questions are 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 question.
Input for the question: “cake 49 aid 24 81 village 12 base pink 33 jungle 51 77 tissue”. (All the given numbers are two digit numbers)
Which of the following would be the last but one step of the given input?
Show answer & explanation
Correct answer: B
Explanation
Pattern Logic:
• In each step, the largest remaining number is shifted to the extreme left.
• Simultaneously, the word that comes first in alphabetical order among the remaining words is shifted to the extreme right.
Step-by-step arrangement:
• 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
• Step V: 33 49 51 77 81 24 village 12 tissue aid base cake jungle pink
• Step VI: 24 33 49 51 77 81 village 12 aid base cake jungle pink tissue
• Step VII: 12 24 33 49 51 77 81 aid base cake jungle pink tissue village
Step VII is the last step. Therefore, the last but one (penultimate) step is Step VI:
24 33 49 51 77 81 village 12 aid base cake jungle pink tissue