Qualcomm interview question

priority inversion