Question
If the following is the sixth step of an input, what
will be the second step? Step VI: 21, 35, 48, 92, 79, 89, 52, 62, 103, 115 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
The following is the logic: Input to step I: The smallest no. comes to the leftmost position and the rest shift rightward. Step I to Step II: The largest no. comes to the rightmost position and the rest shift leftward. And thus we go on arranging the nos. on left and right alternately till the final arrangement is in ascending order. We can’t proceed backwards.
Solve for x in the equation: 3(x + 2) + 2(2x - 5) = 5x + 9

If x = 19, then the value of x5 - 20x4 + 20x3 - 20x2 + 20x - 1 is
Given a triangle with two sides measuring 12 cm and 16 cm, which of the following cannot be a possible length for the third side?
The mean age of 30 students was calculated as 15 years. However, it was later discovered that one student's age was mistakenly entered as 15 years inste...
In a triangle ABC, a point D lies on AB and points E and F lie on BC such that DF is parallel to AC and DE is parallel to AF. If BE = 4 cm. EF = 6cm. th...
If a = 32, b = c = 31, then find the value of a 3  + b 3  + c 3  – 3abc.
If x3 + y3 = 9 and x + y=3 then the value of x4 + y4 is:
105, 111, 123, 141, ?, 195
Let {x + (1/x)} = 4, then Determine the value of {x² + (1/x²)}