Question 1
Input: hippopotamus a ant bat elephant
Step 1: a
Step 2: a ant bat
Rule: Arrange words by length (shortest first), then alphabetically for same length.
What is the final output?
Sorted by word length: a ant bat elephant hippopotamus