Qualcomm interview question

one simple design question