Practice30Create account

A word-arrangement machine, in each step, moves the next word in alphabetical order to its place from the left. Example — Input: tiger apple mango zebra; Step 1: apple tiger mango zebra; Step 2: apple mango tiger zebra. For Input: sun rain cloud wind, what is Step 1?

Competition practiceInput-Output
  • Acloud wind rain sun
  • Bcloud sun rain wind
  • Ccloud rain sun wind
  • Drain cloud sun wind

Step-by-Step Solution

Step 1 places the alphabetically first word, 'cloud', at the front while the others keep their order: cloud sun rain wind.
Answer: B) cloud sun rain wind

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 word-arrangement machine, in each step, moves the next word in alphabetical order to…A number-arrangement machine, in each step, shifts the smallest remaining number to the…A number-arrangement machine, in each step, shifts the smallest remaining number to the…A word-arrangement machine arranges words in reverse alphabetical order (Z to A), moving…A number-arrangement machine, in each step, shifts the largest number among the…