SoloMedium5m
Fix the ER Triage Queue (Min-Heap)
The ER is on FIFO triage — minor sprains wait ahead of chest pains. Upgrade to a Priority Triage System: implement TriageQueue with a min-heap so lower severity numbers (1 = Critical) are treated first in O(log N) time.
Skills you'll prove
javascriptmin-heappriority-queue