Qualcomm Interview Question

Priority inversion