Practice30Create account

A number-arranging machine rearranges its input in steps. In each step it moves the smallest remaining number to the left and the largest remaining number to the right of the still-unarranged middle, which keeps its order; it stops when the numbers are fully sorted in ascending order. Input: 47 12 88 35 63 20. What is Step I?

Competition practiceInput-Output
  • A12 47 35 63 88 20
  • B12 47 35 63 20 88
  • C20 47 35 63 12 88
  • D12 88 47 35 63 20

Step-by-Step Solution

The smallest number 12 goes to the far left and the largest 88 to the far right, with 47 35 63 20 kept in order between them.
Answer: B) 12 47 35 63 20 88

Master this topic in 30 minutes a day.

Don't just memorise the answer — build a daily practice habit.

Practice 5 Similar Questions Free →

All Input-Output practice questions

More Input-Output practice

A number-arranging machine rearranges its input in steps. In each step it moves the…A number-arranging machine rearranges its input in steps. In each step it moves the…A number-arranging machine rearranges its input in steps. In each step it moves the…A number-arrangement machine rearranges a line of numbers so that in each step the…A number-arrangement machine rearranges a line of six numbers. In each step it takes the…