Practice30Create account

A rearranging machine, in each step, moves the last element of the row to the front. Example — Input: 12 25 30 47 18; Step I: 18 12 25 30 47; Step II: 47 18 12 25 30. For the same input, what is Step III?

Competition practiceInput-Output
  • A47 30 18 12 25
  • B25 30 47 18 12
  • C30 47 18 12 25
  • D30 47 18 25 12

Step-by-Step Solution

From Step II (47 18 12 25 30), moving the last element 30 to the front gives 30 47 18 12 25.
Answer: C) 30 47 18 12 25

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, in each step, moves the largest not-yet-placed number to the…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 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:…