Practice30Create account

A machine rearranges numbers: in each step it brings the smallest not-yet-placed number to the leftmost unarranged position (the rest keep their order). Example — Input: 25 17 40 08 33 → Step I: 08 25 17 40 33 → Step II: 08 17 25 40 33. For the input '46 12 39 05 28', what is Step II?

Competition practiceInput-Output
  • A05 12 28 46 39
  • B05 12 39 46 28
  • C05 12 46 39 28
  • D12 05 46 39 28

Step-by-Step Solution

Step I brings 05 to the front: 05 46 12 39 28. Step II brings 12 to the second position: 05 12 46 39 28.
Answer: C) 05 12 46 39 28

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 word machine works so that in each step the word coming last in alphabetical order…A machine brings, in each step, the smallest not-yet-placed number to the leftmost…A machine brings, in each step, the largest not-yet-placed number to the leftmost…A word machine brings, in each step, the word earliest in alphabetical order among the…A machine brings, in each step, the smallest not-yet-placed number to the leftmost…