Question 1
Input: orange goat ball kite umbrella
Step 1: Identify vowel-starting words: orange umbrella
Step 2: Identify consonant-starting words: ball goat kite
Step 3: Sort each group alphabetically
Step 4: Combine (vowels first, then consonants): orange umbrella ball goat kite
What is the final output?
Words starting with vowels come first (sorted alphabetically), followed by words starting with consonants (sorted alphabetically): orange umbrella ball goat kite