Qualcomm interview question

Don’t remember the leetcode questions