Practice ยท 3 of 3
Findings Prioritizer
Write prioritize(findings) โ findings is an array of { id, severity } where severity is "critical" | "high" | "medium" | "low". Return the ids sorted by severity (critical first), stable within the same severity (preserve input order). Include summary(findings) returning counts per severity as { critical, high, medium, low } (zeros included).
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Secure the App โ Practice