Question
If the second step for an input is as given below, what
will be the fifth step for the same input? Step II: 29, 52, 47, 91, 66, 142, 111, 193 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
Step II: 29, 52, 47, 91, 66, 142, 111, 193 Step III: 29, 47, 52, 91, 66, 142, 111, 193 Step IV: 29, 47, 52, 91, 66, 111, 142, 193 Step V: 29, 47, 52, 66, 91, 111, 142, 193
Dasht-e Lut Desert is a part of which of the following countries?
Who among the following is the author of the book ‘The Way I See It’?
Which of the following statement/ statements is/are correct regarding bills in the parliament?
a) Money bill can be introduced either in Lok Sabh...
Consider the following pairs about the leaders and places of the revolt of 1857?
Rajasthan state formation diwas is celebrated every year on?
What was India’s final medal position in the ISSF World Cup Rifle/Pistol 2025?Â
As part of Azadi Ka Amrit Mahotsav, Indian Railways organized week long celebrations of the ‘Azadi Ki Rail Gadi aur Stations’ from 18th to 2...
The Tropic of Cancer passes through which of the following Indian states?
Identify the INCORRECT statement regarding Payment Banks:
Who has been appointed as HSBC’s first female Chief Financial Officer (CFO)?