Practice30Create account

A number-arrangement machine, in each step, shifts the largest number among the still-unarranged (left) numbers to the right of that group, building a sorted order from the right. Example — Input: 46 24 51 13; Step 1: 46 24 13 51; Step 2: 24 13 46 51. For Input: 38 60 22 55, what is Step 1?

Competition practiceInput-Output
  • A22 38 55 60
  • B38 55 22 60
  • C38 22 60 55
  • D38 22 55 60

Step-by-Step Solution

Step 1 moves the largest number, 60, to the right end while the others keep their order: 38 22 55 60.
Answer: D) 38 22 55 60

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 machine rearranges numbers: in each step it brings the smallest not-yet-placed number…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…