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