Practice30Create account

A number-arranging machine rearranges an input line one step at a time. Example — Input: '34 71 12 65 28'; Step I: '12 34 71 65 28'; Step II: '12 28 34 71 65'. (Each step moves the next smallest number into the next position from the left.) For the Input '45 22 88 17 60', what is Step I?

Competition practiceInput-Output
  • A17 22 45 60 88
  • B45 22 88 17 60
  • C17 45 22 88 60
  • D22 45 17 88 60

Step-by-Step Solution

Step I moves the smallest number 17 to the front, leaving the others in order: 17 45 22 88 60.
Answer: C) 17 45 22 88 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 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 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…