Question 1
Input: 57 36 32 5 71 48 60 86
Step 1: Even numbers (sorted): 32 36 48 60 86
Step 2: Odd numbers (sorted): 5 57 71
Step 3: Combine (evens then odds): 32 36 48 60 86 5 57 71
What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 32 36 48 60 86 5 57 71