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
Which of the following provisions of the Constitution establishes that every Municipality shall continue for five years from the date appointed for its ...
Which of the following statements accurately reflects the constitutional status of Part 9B (Cooperative Societies) after the Supreme Court's judgment in...
Which part of the Constitution contains provisions related to Panchayats?
Which Article deals with the “Protection of life and personal liberty”?Â
Section 74 and 75 of the Evidence Act have been combined into one section under which of the following sections in the BharatiyaSakshayaAdhiniyam?
doli incapax is:?
Which Article empowers Parliament to form new States?Â
Consider the following statements extracted from Article 14:
(1) “The State shall not deny to any person equality before the law or the equal p...
Part III of the Constitution of India provides for Equality of opportunity in matters of ____________ employment.
Alibi is governed by