Practice30Create account

A word-and-number arranging machine, in each step, moves the largest of the not-yet-arranged numbers to the left (building a descending block of numbers on the left), while the words keep their original relative order and stay on the right. For the input 'sky 52 map 19 oak 74 fan 38', which word is at the extreme right end in the final (last) step?

Competition practiceInput-Output
  • Afan
  • Bsky
  • Coak
  • Dmap

Step-by-Step Solution

The words keep their original order (sky, map, oak, fan) and end up on the right after the numbers. Final step: 74 52 38 19 sky map oak fan, so the extreme right word is 'fan'.
Answer: A) fan

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 rearranges a line of numbers step by step. In each step it…A number-arranging machine rearranges a line of numbers step by step. In each step it…A word-and-number arrangement machine rearranges an input line in steps. In each step…A word-and-number arrangement machine rearranges an input line in steps. In each step…A rearrangement machine works in steps. In each step it picks the word that comes…