Qualcomm interview question

Priority inversion