Qualcomm interview question

At first, I thought there will be some difficult algorithm question, it turns out only several basic algorithm and data structure question.