Practice30Create account

A number-arranging machine, in each step, moves the smallest not-yet-placed number to the leftmost unplaced position. Example — Input: 7 3 9 1 5; Step I: 1 7 3 9 5; Step II: 1 3 7 9 5. For the same input, what is Step III?

Competition practiceInput-Output
  • A1 3 9 5 7
  • B1 3 7 5 9
  • C1 3 5 7 9
  • D1 3 5 9 7

Step-by-Step Solution

After Step II (1 3 7 9 5) the next smallest among 7, 9, 5 is 5; placing it third gives 1 3 5 7 9.
Answer: C) 1 3 5 7 9

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, in each step, moves the largest not-yet-placed number to the…A word-arranging machine, in each step, moves the word that comes first in alphabetical…A rearranging machine, in each step, moves the first element of the row to the end.…A rearranging machine, in each step, moves the last element of the row to the front.…A number-arranging machine, in each step, moves the largest not-yet-placed number to the…