Question
If 91, 326, 147, 271, 193, 371, 416 is the second step
of an input, which of the following steps will be 91, 147, 193, 271, 326, 371, 416? Directions: A number arrange 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: 207, 59, 324, 23, 135, 173, 312 Step I: 207, 59, 312, 23, 135, 173, 324 Step II: 23, 59, 312, 207, 135, 173, 324 Step III: 23, 59, 173, 207, 135, 312, 324 Step IV: 23, 59, 135, 207, 173, 312, 324 Step V: 23, 59, 135, 173, 207, 312, 324 This is the final arrangement and step V is the last step for this input.Solution
Here the rule followed is: Numbers are getting arranged in ascending order. The largest no. interchanges with the last-position no. Then the smallest no. interchanges with the first-position no. Next, the second largest no. interchanges with the second last position no. And so on.[Note: In step IV it is clear that when second smallest no.. is already set, the no. just larger to it interchanges with the next no.. From this it is clear that in odd step we should deal with larger no. and in even step we should deal with smaller no.] Step II: 91, 326, 147, 271, 193, 371, 416 Step III: 91, 193, 147, 271, 326, 371, 416 Step IV: 91, 147, 193, 271, 326, 371, 416
Consider the following statements:
I. Jivhala scheme is related to karnataka state.
II. It is primarily for inmates who are undergoing a p...
What events accompanied the Urban Adda 2025 conclave held in New Delhi?
The Telangana government's 'Telangana Darshini' scheme primarily targets which group?
What is the current installed wind power capacity in India as mentioned in the latest wind energy update?
Which bank recently partnered with Sunrisers Hyderabad (SRH) as their exclusive banking partner?
Before SEBI came into existence, which of the following was the regulatory authority for capital markets?
Prama India and C-DAC forged a partnership for which technology?
Consider the following statement about Marginal Cost of Funds based Lending Rate (MCLR)?
I. It is the mechanism of determining commercial bank ...
Who is the current Secretary-General of the International Seabed Authority (ISA)?
Where are the headquarters of the BSE?