Question
What will be the fourth step for the following
input? Input: 76 172 372 43 243 361 165 A word arrangement machine,when given a particular input, rearranges it following a particularrule. The following is the illustration of the input and the steps of arrangement: Input: 87, 321, 293, 47, 176, 409, 215 Step I: 47, 321, 293, 87, 176, 409, 215 Step II: 47, 321, 293, 87, 176, 215, 409 Step III: 47, 87, 293, 321, 176, 215, 409 Step IV: 47, 87, 293, 215, 176, 321, 409 Step V: 47, 87, 176, 215, 293, 321, 409Solution
Here the rule followed is: numbers are getting arranged in ascending order. The smallest no. interchanges with the first position. Then the largest no. interchanges with the last position. Next, the second smallest no. interchanges with the second position. And so on. Input: 76 172 372 43 243 361 165 Step I: 43 172 372 76 243 361 165 Step II: 43 172 165 76 243 361 372 Step III: 43 76 165 172 243 361 372 [Machine will stop after step III.]
- Which organ produces urea as a waste product?
Which pair of biotechnological products and their sources is correct?
What is the structural and functional unit of the kidneys?
What is the living substance of a cell that surrounds the cell membrane, nucleus, and cytoplasm called?
__________results in the formation of zygote.
How many types of cell signalings are there?
Which of the following controls/control the growth of bollworms ?Β
Which of the following represents net primary productivity?
Which cell organelle is known as the "Powerhouse of the Cell"?
What is the gap of time between the entry of germs into our body and appearance of symptoms of the disease called?