Qualcomm Interview Question

C++ ,Python