The words are rearranged in increasing order of their length and when there is a tie in length then they are arranged according to the dictionary, from left to right. Numbers are rearranged in descending order from right to left. In each step a word and a number is arranged. Input: 25 mythologic 54 length 96 words 41 alliance 87 76 important analysis Step I. words 25 mythologic 54 length 41 alliance 87 76 important analysis 96 Step II. words length 25 mythologic 54 41 alliance 76 important analysis 87 96 Step III. words length alliance 25 mythologic 54 41 important analysis 76 87 96 Step IV. words length alliance analysis 25 mythologic 41 important 54 76 87 96 Step V . words length alliance analysis important 25 mythologic 41 54 76 87 96 Step VI. words length alliance analysis important mythologic 25 41 54 76 87 96
In a classroom there are 12 boys and 10 girls. Average age of each boy and each girl is 22 years and 18 years respectively. The sum of ages of all the b...
Naren got married 4 years ago. His current age is 8/7 times his age at the time of his marriage. At the time of his marriage, Naren’s sister was 6 yea...
Determine the average current age of 'A' and 'B', given that six years ago, 'A' was 12 years younger than 'B', and twelve years from now, the ratio of t...
The ages of A, B and C together are 64 years. B is twice as old as A and C is 4 years older than A. What is the difference between ages of B and C?
Four years ago, the age ratio of 'Vikram' to 'Garima' was 3:4, and six years from now, their age ratio will be 4:5. Can you determine 'Vikram's current ...
12 years ago, the ratio of the ages of Ivan and Jenny was 2:1. The present age of Carl is 18 years more than one-sixth of Jenny’s present age. Find th...
The ratio of the present age of A to that of B is 7:9. Six years ago the ratio of 1/3 of A’s age at that time and 1/3 of B’s age at that time was 1:...
A 15-member group has two individuals aged 18 and 23. When excluded, the average age of the rest increases by 3 years. Find the average age of all members.
A certain sum of money becomes 4 times of itself in 15 years at simple interest. In how many years does it become double of itself at the same rate of s...
Ratio of present ages of A and B is 7:5, respectively. C who is 3 years older than A will become 36 years older after 12 years. Find the present age of B.