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.]
Consider the following statements:
1. The Government of India Act of 1858 was a response to the Indian Rebellion of 1857 and the East India Compa...
Consider the following statements:
1.Humayun's Tomb was built by Jahangir as a tribute to his grandfather.
2.The Din-i-Ilahi, an eclectic ...
True about NEFT/RTGS?
In which of the following states Kuno Palpur Sanctuary is situated?
Article 263 of the Indian Constitution relates to the establishment of ___________.
Who is the Indian batsman after whom the Ranji Trophy is named?
According to the ‘Solar Policy 2024’, what is the targeted installed capacity of solar power in Delhi by 2027?
The Government of India (GoI) approved a PM WANI scheme. The purpose of this scheme is to:
1. To elevate wireless internet connectivity in the co...
Which of the following cyclone hit the countries USA and Canada recently?Â
Match List-I with List-II and select the correct answer using the codes given below the Lists.