Question 1
Input: 4 34 5 73 86 76 62 96
Step 1: Even numbers (sorted): 4 34 62 76 86 96
Step 2: Odd numbers (sorted): 5 73
Step 3: Combine (evens then odds): 4 34 62 76 86 96 5 73
What is the final output?
Even numbers first (sorted ascending), then odd numbers (sorted ascending): 4 34 62 76 86 96 5 73