Question 1
Input: 15 46 73 12 75 63 4 52
Step 1: Even numbers (sorted): 4 12 46 52
Step 2: Odd numbers (sorted): 15 63 73 75
Step 3: Combine (evens then odds): 4 12 46 52 15 63 73 75
What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 4 12 46 52 15 63 73 75