Qualcomm Interview Question

Simple linked list qn and applications of few data structures