Question 1
Input: 78 23 banana 44 5 cherry fig
Step 1: Sorted words → banana cherry fig
Step 2: Sorted numbers → 5 23 44 78
Step 3: Interleave (2 words, 1 number, repeat) → banana cherry 5 fig 23 44 78
What is the final output?
Words sorted alphabetically, numbers sorted ascending, then interleaved in pattern: 2 words, 1 number, repeat → banana cherry 5 fig 23 44 78