Question
Which of the following is the last step for the
following input? Input: 310, 105, 45, 241, 417, 36, 281 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.] Last step can be found directly as the machine sets the given no. in ascending order.
Sustainable Alternative Towards Affordable Transportation (SATAT) initiative launched in October, 2018 envisages setting up of _________ Compressed Bio...
The Financial Services Institutions Bureau (FSIB), constituted in July 2022, was set up by the Government of India with which of the following primary o...
According to the CAPM model, Expected Return = Risk free rate + Risk premium. Here, what does the risk-free rate compensate the investor for?
As per the UK Sinha Committee, which of the following measures was proposed to improve the financing of MSMEs?
Which Adani Group company is included in the BSE Sensex on June 24?
According to the revised review of regulatory framework for Housing finance company (HFCs), what is the reduced ceiling on the quantum of public deposit...
From the following information calculate the amount of sales to earn a desired profit of Rs.6,000
Fixed Cost: 12,000
Selling Price: 12 p...
What is GIFT city and what are its objectives?
To ensure that employees are satisfied with their performance appraisals, supervisors should ascertain that employees ____________
A company may incur loss of material during handling, storage or process. Which of the following is not a form of loss of material?Â