Question LR-IO-0056
MediumA 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: 28 64 15 83 42 57
In Step 2, which item is 1st from the right end?
- A.
42
- B.
28
- C.
Sign up free to see the answer and a step-by-step explanation.