Question
Following is the step III for an input. What will be
the first step for the input? Step III: 12, 315, 48, 223, 142, 419, 567 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.] Previous steps can’t be determined
What is the total operational testing time planned for the DRDO desalination membrane?
What is the total area covered by Pobitora Wildlife Sanctuary in Assam?
Which country commissioned its first submarine base at Pekua in Cox’s Bazar?Â
Which of the following regulatory body issues fresh guidelines Demat Debit and Pledge Instruction to curb misuse of clients’ Power of Attorney?
How many ASEAN countries are currently part of the association as of the Cruise Dialogue event?
How many award categories were presented during the National Highways Excellence Awards 2023?
Which country topped the global list of Best Cuisines, 2022 in the Taste Atlas report?
What amount is the cash prize associated with the Khel Ratna Award?
Which indigenously developed explosive was successfully tested by the Indian Navy, marking a significant achievement in India's defense self-reliance?
- Which renowned Odissi dancer, credited with introducing Sanchari Bhava, Mudra Viniyoga, and Rasa Theory into Odissi, passed away at the age of 92 in 2025?