Practice · 1 of 5
Repair the case split
CHALLENGE
Difficulty: intermediate+25 XP
median swaps its parity branches. Trace {1, 3, 8} (odd → 3.0) and {1, 2, 3, 10} (even → 2.5) against the code, find the first divergence, and swap the branches — nothing else.
Press Submit to check your solution.
Back to lesson: Practice: FRQ debug lab