Qualcomm interview question

It was mostly from algorithms and Os