Question 1
Input: 33 49 17 85 34 82 18 84
Step 1: Even numbers (sorted): 18 34 82 84
Step 2: Odd numbers (sorted): 17 33 49 85
Step 3: Combine (evens then odds): 18 34 82 84 17 33 49 85
What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 18 34 82 84 17 33 49 85