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
Eight years hence, age of 'L' will be 26 years. Ratio of present age of 'M' to 'L' is 3 : 2. If 'N' is 7 years younger than 'M', then find the age of 'N...
Amit age after 12 years will be 3 times his age 4 years back. What is the present age of Amit?
The average of the current ages of Armaan, Biju, Chinky, and Danny is 31 years. Two years from now, the average age of Armaan and Biju will be 22 years....
A man is 6 times as old as his daughter. After 4 years, he will be 4 times as old as she will be. After how many more years will the man be 3 times as o...
8 years ago from now, ratio of ages of ‘R’ and ‘L’ was 3:5, respectively. If ‘L’ is 7 years elder to ‘R’, then what will be the age of �...
The average age of a man and his two children is 15 years and the average age of man's wife and the same children is 13 years. If the age of man is 31 y...
Three years ago, the ratio of ages of C and D was 3:4. Seven years from now, the ratio of their ages will be 5:6. What is the current age of C?
A’s age is 140% of what he was 5 years ago, But 70% of what it will be after 5 years. What is his present age?
The current ages of 'Aman' and 'Bhanu' are in the ratio 2:5, respectively. 'y' years ago, the age of 'Bhanu' was twice the age of 'Chinky,' while 'y' ye...
B is 3 years older than A and A is 6 years older than C. If the sum of the age of A and C is 26 years, then find the sum of the ages of all three.