Practice30Create account

A machine moves the alphabetically first remaining word to the left end in each step. Example — Input: mango apple cherry berry; Step 1: apple mango cherry berry; Step 2: apple berry mango cherry. For the input 'tiger lion zebra cat ox', what is Step 1?

Competition practiceInput-Output
  • Alion tiger zebra cat ox
  • Bcat tiger lion zebra ox
  • Ccat lion tiger zebra ox
  • Dcat ox tiger lion zebra

Step-by-Step Solution

The alphabetically first word is 'cat'. Moving it to the front while the others keep their order gives 'cat tiger lion zebra ox'.
Answer: B) cat tiger lion zebra ox

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 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…A number-arrangement machine rearranges an input in steps by moving the largest…