Question
How many steps will be required to get the final output
from the following input? Input: 182 317 67 249 417 91 293 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: 182 317 67 249 417 91 293 Step I: 67 317 182 249 417 91 293 Step II: 67 317 182 249 293 91 417 Step III: 67 91 182 249 293 317 417
What is the theme of the 12th Global Space Exploration Conference (GLEX 2025)?
What is the theme of World Standards Day 2025, celebrated on October 14?
Which of the following Union Territories or States emerged as top performers in the 2025 PARAKH RS survey?
Who assumed the role of Chief Minister of Haryana in October 2024 for the second time?
On which date did INS Kadmatt, the Indian Navy’s ASW Corvette, arrive in Suva, Fiji in 2025?
Pink revolution in India is related to?
National Institute of Fisheries Post Harvest Technology and Training (NIFPHATT), has organized a workshop on Matsya Sampada Jagrukta Abhiyan to promote ...
By how much did India’s Maternal Mortality Ratio (MMR) fall between 2014 and 2021?
Indian Navy’s stealth frigate INS Tarkash, visited Djibouti as part of her long range overseas deployment followed by Maritime Partnership Exercise wi...
Which Indian state tops in issuing passports to women, according to data till 2023?