Question
How many steps will be required to get the final output
from the following input? Input: 544, 653, 325, 688, 461, 231, 857 Directions : A number arrangement machine,when given a particular input, rearranges it following a particular rule. The following is the illustration of the input and the steps of arrangement: Input: 245, 316, 436, 519, 868, 710, 689 Step I: 710, 316, 436, 519, 868, 245, 689 Step II: 710, 316, 245, 519, 868, 436, 689 Step III: 710, 316, 245, 436, 868, 519, 689 Step IV: 710, 316, 245, 436, 519, 868, 689 Step IV is the last step for the given input.Solution
Here the rule followed is: The sum of the digits is calculated. Then in step I, the number with lowest sum of its digits interchanges with the first number. [If the first number has already the lowest sum of its digits then the number with second lowest sum of its digits interchanges with the second number.] The process continues until the numbers get arranged in ascendingorder on the basis of their sum of digits. Input: 544, 653, 325, 688, 461, 231, 857 (13) (14) (10) (22) (11) (6) (20) Step I: 6 14 10 22 11 13 20 Step II: 6 10 14 22 11 13 20 Step III: 6 10 11 22 14 13 20 Step IV: 6 10 11 13 14 22 20 Step V: 6 10 11 13 14 20 22 Hence, (231, 325, 461, 544, 653, 857, 688
HACCP stands forÂ
Milk of cow is yellowish due to
Recently, the Government of Uttarakhand has launched a scheme on skill development. One of the key features of the scheme is that youths interested in p...
Botanical name of horse gram is
What is the ideal salt concentration sufficient to preserve most of the food products?
Inter-culture with bullocks or tractor is mostly performed in widely row sown crops. A solid (broadcast) crop where it is usually performed is
The period of DNA replication or DNA synthesis in the cell cycle is
The three tiers of panchayat raj are:
What does IPM stands for?
A food contains 5 grams of carbohydrate, 10 grams of fat and 5 grams of protein. How many Calories (kcal) does this food provide?