Practice30Create account

A number-arrangement machine reorders numbers by shifting the largest not-yet-placed number to the left at each step. Example - Input: 23 56 18 40; Step 1: 56 23 18 40; Step 2: 56 40 23 18. For the input '31 74 25 68 49', what is Step 1?

Competition practiceInput-Output
  • A74 31 25 68 49
  • B74 68 31 25 49
  • C31 74 25 68 49
  • D74 68 49 31 25

Step-by-Step Solution

Step 1 moves the largest number (74) to the left, leaving the rest in order: 74 31 25 68 49.
Answer: A) 74 31 25 68 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 machine rearranges a line of words by moving the leftmost word to the right end at…A machine rearranges words by moving the word that comes last in alphabetical order…A machine rearranges a line of numbers; in each step it moves the smallest number not…A machine rearranges a line of numbers; in each step it moves the largest number not yet…A machine rearranges words; in each step it moves the word that comes earliest in…