Question 1
Input: 5 24 90 28 52 15 69 32
Step 1: Even numbers (sorted): 24 28 32 52 90
Step 2: Odd numbers (sorted): 5 15 69
Step 3: Combine (evens then odds): 24 28 32 52 90 5 15 69
What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 24 28 32 52 90 5 15 69