Study the following information carefully to answer these questions: A number…
2023
Study the following information carefully to answer these questions: A number sorting machine when given an input of numbers rearranges them in a particular manner step-by-step as indicated below till all the numbers are arranged. Given below is an illustration of this arrangement.

And step VI is the last step for this input.What will be Step III for the following input?Input : 68 182 39 93 129 46 21 58
- A.
21 68 39 93 129 46 58 182
- B.
Cannot be determined
- C.
21 39 68 93 129 46 58 182
- D.
21 39 68 129 93 46 58 182
Show answer & explanation
Correct answer: C
Concept: In this type of number-arrangement machine, the numbers are split into a front block and a back block that each grow one number at a time. At every step the smallest number not yet placed is moved into the front block (kept in ascending order), and at the very next step the largest number not yet placed is moved into the back block (kept in ascending order) -- front, back, front, back, alternating. Every number that has not yet been picked keeps its existing relative order until its own turn comes.
Applying this to Input : 68 182 39 93 129 46 21 58:
Step I -- the smallest number overall is 21; it moves to the front and everything else keeps its order: 21 68 182 39 93 129 46 58.
Step II -- the largest number still unplaced is 182; it moves to the back: 21 68 39 93 129 46 58 182.
Step III -- the smallest number still unplaced among 68, 39, 93, 129, 46, 58 is 39; it moves into the front block, right after 21: 21 39 68 93 129 46 58 182.
Cross-check: at every step only the one identified smallest/largest number changes position -- the rest of the unplaced numbers keep their existing relative order (93 still comes before 129, exactly as in Step II). The sample illustration follows this same alternating rule through its own Step I to Step III, confirming the pattern.
So, Step III for this input is 21 39 68 93 129 46 58 182.