Incident Response Gauntlet
Challenge on lesson: Checkpoint: Debugging
CHALLENGE
Difficulty: advanced+25 XP
Two skills in one: classifyCrash (per the module-13 contract) and repairMedian โ the incident: medianOf was reported to crash on empty input (it indexed v[0] before checking). Repair it: nullopt when empty, true median (average of two middles, as double) otherwise.
Press Submit to check your solution.
Back to lesson: Checkpoint: Debugging