Qualcomm Interview Question

I've already explained it here oney