Discussion :: Sequential Output Training
-
Study the following information carefully and answer the given questions: 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: 25 280 345 36 93 147 550Step I: 550 280 345 36 93 147 25Step II: 550 345 280 36 93 147 25Step III: 550 345 280 147 93 36 25This is the final arrangement and step III is the last step for this input.If '842 485 68 358 236 123 93' is the second step of an input, which of the following steps will be '842 485 358 236 123 68 93'?
Answer : Option B
Explanation :
Numbers are getting arranged in descending order.
The largest of the given number interchanges its place with the first number. IN case the largest number is already arranged, the second largest is interchanged with the number next to the largest number, and so on until the numbers are arranged in descending order.
Be The First To Comment