Here the rule followed is: Step I: The smallest number interchanges its position with the first number. [In case the first number is smallest then the next number just larger than it interchanges its position with the second number.] Step II: The largest number interchanges its position with the last number. [In case the largest number is first from right end, the second largest number interchanges its position with the second number from right and so on.] These steps are repeated alternately till the numbers get arranged in ascending order and that will be the last step for the particular input. Input: 50 26 82 28 43 94 68 63 Step I: 26 50 82 28 43 94 68 63
Recently “Shoonya Campaign” completed its one year, Shoonya Campaign is related to ________.
Who is the author of the book "Dabbling in Diplomacy: Authorised & Otherwise, Recollections of a Non-Career Diplomat"?
Recently Maharashtra Government has given approval to renaming of which of the following cities?
Who is elected as the chairman of the Indian Farmers Fertiliser Cooperative (IFFCO)?
Which of the following private sector insurance firm has launch ‘Activ Fit’, a comprehensive health insurance plan for young and healthy adults?
...Union Minister for Education and Skill Development Dharmendra Pradhan launched NEAT 3.0, a single platform to provide the best-developed ed-tech solutio...
The Kalahari dessert is located on which among the following continents?
SEBI has restructured its advisory committee on market data that recommends policy measures pertaining to areas like securities market data access and p...
Who authored 'Tarikh-i-Firoz Shahi,' a historical text on the Delhi Sultanate?
Who is the author of the collection of poems "Ek Samandar, Mere Andar"?