Exponent interview question

Write a priority Queue for a hospital.