Practice30Create account

A number-arranging machine moves the largest remaining number to the front at each step until the numbers are in descending order. Example — Input: 16 49 23 58 31; Step I: 58 16 49 23 31; Step II: 58 49 16 23 31. How many steps in all are needed to complete the arrangement?

Competition practiceInput-Output
  • AThree
  • BFour
  • CFive
  • DTwo

Step-by-Step Solution

Continuing: Step III gives 58 49 31 16 23 and Step IV gives 58 49 31 23 16, which is fully descending. Four steps are needed.
Answer: B) Four

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-arrangement machine, in each step, moves the next word in alphabetical order to…A word-arrangement machine, in each step, moves the next word in alphabetical order to…A number-arrangement machine, in each step, shifts the smallest remaining number to the…A number-arrangement machine, in each step, shifts the smallest remaining number to the…A word-arrangement machine arranges words in reverse alphabetical order (Z to A), moving…