Question
How many steps will be required for getting the final
output for the following input? Input: 111, 81, 62, 40, 63, 36, 173, 29, 141, 74 Directions : Study the following information carefully to answer the questions given below:A number sorting machine, when given an input of numbers, rearranges the numbers in a particular manner step by step as indicated below, till all the numbers are arranged in a particular order. Given below is an illustration of this arrangement. Input: 45, 163, 53, 19, 81, 139, 18, 48, 73, 96 Step I: 18, 45, 163, 53, 19, 81, 139, 48, 73, 96 Step II: 18, 45, 53, 19, 81, 139, 48, 73, 96, 163 Step III: 18, 19, 45, 53, 81, 139, 48, 73, 96, 163 Step IV: 18, 19, 45, 53, 81, 48, 73, 96, 139, 163 Step V: 18, 19, 45, 48, 53, 81, 73, 96, 139, 163 Step VI: 18, 19, 45, 48, 53, 73, 81, 96, 139, 163 (This is the final arrangement and VI is the last step for this input.)Solution
Input: 111, 81, 62, 40, 63, 36, 173, 29, 141, 74 Step I: 29, 111, 81, 62, 40, 63, 36, 173, 141, 74 Step II: 29, 111, 81, 62, 40, 63, 36, 141, 74, 173 Step III: 29, 36, 111, 81, 62, 40, 63, 141, 74, 173 Step IV: 29, 36, 111, 81, 62, 40, 63, 74, 141, 173 Step V: 29, 36, 40, 111, 81, 62, 63, 74, 141, 173 Step VI: 29, 36, 40, 81, 62, 63, 74, 111, 141, 173 Step VII: 29, 36, 40, 62, 81, 63, 74, 111, 141, 173 Step VIII: 29, 36, 40, 62, 63, 74, 81, 111, 141, 173
An unsecured loan (1)/ is a loan (2)/ which one could obtain (3)/ without providing any collateral (4)/ No error (5)
Find the erroneous part of the given sentence. If none of the parts contains error, mark ‘No Error’ as your answer.
The news (A) / about th...
The need for reforming the country’s murky electoral processes again attracted the attention for the Court when it struck down a provision in the elec...
Read each sentence to find out whether there is any error in it. The error, if any, will be in one part of the sentence. Mark the part with the error as...
Below is given a sentence divided in parts. Read the sentence to find out whether there is any error in it. The error, if any, will be in one p...
The country faces escalating (1)/protests on the streets (2)/that have been triggered by (3)/a sharp rise at fuel prices (4).
Read each sentence to find out whether there is any error in it. The error, if any, will be in one part of the sentence. Mark the part with the error as...
Backed by procurement, remunerative and stable support prices can helping for ensuring thorugh the risk of wild swings in the production and prices of ...
Read the following sentence to find out whether there is any grammatical mistake/error or idiomatic error in it. The error, if any, will be in one part ...
Two days after issuing an advisory cautioning (1)/people against sharing a photocopy of (2)/its Aadhaar card, the Union government on Sunday (3)/withdr...