Question LR-IO-0077
HardA number-arrangement machine rearranges a line of numbers step by step. In each step it takes the largest number not yet arranged and moves it to the right end of the unarranged part (just before the numbers already arranged).
Input: 61 28 85 43 16 97 54
What is the final arrangement?
- A.
28 43 16 54 61 85 97
- B.
61 28 43 16 54 85 97
- C.
Sign up free to see the answer and a step-by-step explanation.