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
The average expenditure of a man for the first 6 month is Rs.6000 and for the next 6 months is Rs.9000. If he saves 15000 in that year then find his ave...
Average age of 16 students is 18 years. If 4 students leave the class, then the average age decreases by 1.5 years. Find the average age of the students...
The average age of a class of 20 girls is 12 years. If 4 new girls having average age of 9 years join the class, then the average age of the class becomes:
The average price of 10 stickers is Rs.12 while the average price of 8 of these stickers is Rs.11.75. Of the remaining two stickers, if the price of one...
The average age of A and B is 17 years. If A is to be replaced by C, the average would be 16 years. The average age of C and A is 18 years. Find the age...
The average of three distinct numbers is 124. The average of the smallest and the largest of these numbers is also 124, with the smallest number being 2...
The average salary of an employee increased by Rs.2000 when he received a bonus of Rs.58000 in his 35th year of service. Find the average salary of the ...
A number is such that when it is multiplied by 9, it gives another number which is as much above from 420 as the original number (itself) is below 420. ...
The average age of A and B is 22 years. If A is to be replaced by C, the average would be 21 years. The average age of C and A is 23 years. Find the age...
The average age of a group of 70 students is 14 years. If three students whose ages are 22years, 20years, ________ years is replaced with three new stud...