Question 1
Input: 73 50 12 85 6 31 25 35
Step 1: Even numbers (sorted): 6 12 50
Step 2: Odd numbers (sorted): 25 31 35 73 85
Step 3: Combine (evens then odds): 6 12 50 25 31 35 73 85
What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 6 12 50 25 31 35 73 85