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
Coparcenary property of a Hindu:
Who represents India in International Organization for standardization (ISO)?
The Principle of assessment of damages for breach of contract is given in :
Nothing is an offence which is done
If the services of an employee have been terminated for riotous or disorderly conduct or any other act of violence on his part, the gratuity payable to ...
What is the maximum period under S.110 of Cr.P.C for furnishing security prescribed for keeping good behavior ?
Which of the following is not true about High Courts in India?
According to the Arbitration and Conciliation Act, which of the following is a ground for challenging the validity of an arbitral award?
What is the time period within which the first meeting of the Committee of Creditors be held?
Which of the following sections of Limitation Act deals with effect of substituting or adding new plaintiff or defendant?