Qualcomm interview question

Mostly Leetcode questions were asked.