Practice30Create account

A machine brings, in each step, the smallest not-yet-placed number to the leftmost unarranged position (the rest keep order). Example — Input: 36 14 52 09 → Step I: 09 36 14 52 → Step II: 09 14 36 52. For the input '41 22 63 18', what is the final arrangement (last step)?

Competition practiceInput-Output
  • A63 41 22 18
  • B18 22 63 41
  • C22 18 41 63
  • D18 22 41 63

Step-by-Step Solution

The machine sorts the numbers into ascending order, so the final arrangement is 18 22 41 63.
Answer: D) 18 22 41 63

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

An arrangement machine rearranges an input line of numbers step by step by one fixed…An arrangement machine rearranges an input line of numbers step by step by one fixed…An arrangement machine rearranges an input line of words step by step by one fixed rule.…An arrangement machine rearranges an input line of words step by step by one fixed rule.…An arrangement machine rearranges an input line of numbers step by step by one fixed…