Practice30Create account

A machine moves the smallest remaining number to the left end in each step. Example — Input: 45 12 78 33; Step 1: 12 45 78 33; Step 2: 12 33 45 78. For the input '61 27 88 14 50', what is Step 2?

Competition practiceInput-Output
  • A27 14 61 88 50
  • B14 27 50 61 88
  • C14 61 27 88 50
  • D14 27 61 88 50

Step-by-Step Solution

Step 1 moves the smallest (14) to the front: 14 61 27 88 50. Step 2 moves the next smallest (27) to the front of the unsorted part: 14 27 61 88 50.
Answer: D) 14 27 61 88 50

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 machine moves the alphabetically first remaining word to the left end in each step.…A machine moves the largest remaining number to the left end in each step. Example —…A machine moves the shortest remaining word (fewest letters) to the left end in each…A machine moves the smallest remaining number to the left end in each step. Example —…A machine moves the reverse-alphabetically first remaining word (nearest to Z) to the…