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 initiative aims to promote MSME exports and international trade, focusing on engineering goods and stainless-steel sectors?
The ASEANIndia Fellowship for Higher Education in agriculture and allied sciences was launched in 2024. What are the key features of this fellowship, an...
The Partition of Bengal in 1905 was carried out by which British Viceroy?Â
The PM Rashtriya Krishi Vikas Yojana (PM-RKVY) and Krishonnati Yojana (KY) have been consolidated to address sustainable agriculture and food security. ...
The Pradhan Mantri Gram Sadak Yojana (PMGSY) was launched to provide all-weather road connectivity to unconnected habitations. What is the primary fundi...
Which Indian defense organization successfully completed trials of the Very Short Range Air Defence System (VSHORAD) in 2024?
Which organization recognized Amul as the world’s strongest food brand in 2024?
Recently which automobile company and National Centre for Combustion Research and Development (NCCRD) have joined hands for development and commercializ...
How many gold medals did Indian shooters win at the 2024 ISSF Junior World Shooting Championship, and where was the event held?
Which E - Commerce company announced to set up three solar farms in Rajasthan with a combined capacity of 420 megawatts ( MW ) ?