What is the position of “20” from the right end in the last step?
INPUT : course 65 10 race 85 in 20 heal today 52 91 done Step I: 10 course 65 race 85 in heal today 52 91 done 20 Step II: 52 10 course race 85 in heal today 91 done 20 65 Step III: 85 52 10 course race in heal today done 20 65 91 Step IV: course 85 52 10 race in heal today 20 65 91 done Step V: heal course 85 52 10 race today 20 65 91 done in Step VI: race heal course 85 52 10 20 65 91 done in today How words are arranged in the final step: Arrangement starts from the middle of the arrangement. First the smallest number and then second smallest number on the right of the smallest number. Then, third smallest number is on the immediate left of the first number and fourth smallest number on the immediate right of the second smallest number and so on. After all the numbers get arranged then, the first word(alphabetically) is to the left of the first arranged number and then second word is to immediate right of the last arranged number. Then, the third word is to the left of the first arranged word and fourth word to the immediate right of the second arranged word so on. What machine is doing in each step: The machine first rearranges numbers and then words. In the first step smallest number is getting arranged from the left side and the second smallest number is getting arranged from the right side. In each of the further step same procedure is followed as in the previous step and number and words arranged in the previous step are shifting one place to their left and right respectively.
At present Meena is eight times her daughter’s age. Eight years from now, the ratio of the ages of Meena and her daughter will be 9 : 2 respective...
The current ratio of the ages of 'Armaan' and 'Bittu' is such that six years from now, it will be 5:4, respectively. Presently, 'Chetna's age exceeds 'B...
Present age of ‘A’ is 25% more than that of ‘B’. If 9 years hence from now, ‘B’ will be 6 years younger than ‘A’, then find the sum of p...
The ratio of A and B present age is 3:2. The product of their ages is 2400. What will be the ratio of their ages after 5 years?
Two years ago, the combined ages of Armaan and Bikash equaled Chetna's age at that time. Ten years ago, Armaan was twice as old as Bikash. If, in five y...
The ratio of the present ages of ‘A’ and ‘B’ is 5:6, respectively. Three years hence from now, the age of ‘B’ will be 21 years. If the avera...
Present age of ‘A’ is 40% more than that of ‘B’. If 11 years hence from now, ‘B’ will be 5 years younger than ‘A’, then find the sum of ...
A is 2 years older than B while C is 3 years younger than B. The ratio of age of A, 5 years hence and age of B, 4 years ago is 5:4. What was age of C, 1...
A’s age is the sixth part of his father’s age. After 10 years, the age of A’s father will be twice the age of B. If B’s 4th birt...
Rohan's present age is 3/7 times the age of his mother. After four years, he will be one- half of the age of his mother. How old is his mother at present?