Practice30Create account

A number-arranging machine rearranges an input line one step at a time. Example — Input: '23 89 45 67 12'; Step I: '23 45 67 12 89'; Step II: '23 45 12 67 89'. (Each step moves the next largest number to the right end.) For the Input '55 30 78 41 66', what is Step I?

Competition practiceInput-Output
  • A55 30 78 41 66
  • B30 41 55 66 78
  • C78 66 55 41 30
  • D55 30 41 66 78

Step-by-Step Solution

Step I moves the largest number 78 to the right end, leaving the others in place: 55 30 41 66 78.
Answer: D) 55 30 41 66 78

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-arranging machine rearranges an input line one step at a time. Example — Input:…A number-arranging machine rearranges an input line one step at a time. Example — Input:…A word-arranging machine rearranges an input line one step at a time. Example — Input:…A word-and-number arranging machine, given an input line, produces a final arrangement…A word-and-number arranging machine, given an input line, produces a final arrangement…