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