Question 1
Input: 59 63 98 20 1 86 30 11
Step 1: Even numbers (sorted): 20 30 86 98
Step 2: Odd numbers (sorted): 1 11 59 63
Step 3: Combine (evens then odds): 20 30 86 98 1 11 59 63
What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 20 30 86 98 1 11 59 63