Practice30Create account

A number-arranging machine rearranges an input line of numbers so that, in each step, the smallest number not yet placed is moved to the left end, building the ascending order from the left (the other numbers keep their relative order). Input: 53 27 84 16 49. What is Step 2 of this arrangement?

Competition practiceInput-Output
  • A16 27 53 84 49
  • B16 27 49 53 84
  • C16 27 53 49 84
  • D16 53 27 84 49

Step-by-Step Solution

Step 1 moves 16 to the left (16 53 27 84 49); Step 2 moves 27 next, giving 16 27 53 84 49.
Answer: A) 16 27 53 84 49

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 of numbers so that, in each step,…A number-arranging machine rearranges an input line of numbers so that, in each step,…A word-arrangement machine, when given a line of words, rearranges them step by step. In…A word-arrangement machine, when given a line of words, rearranges them step by step. In…A word-arrangement machine, when given a line of words, rearranges them step by step. In…