Question 1
Input: 78 banana fig date 56 12
Step 1: Sorted words → banana date fig
Step 2: Sorted numbers → 12 56 78
Step 3: Interleave (word, number, word, number...) → banana 12 date 56 fig 78
What is the final output?
Words sorted alphabetically, numbers sorted ascending, then interleaved in pattern: word, number, word, number... → banana 12 date 56 fig 78