Qualcomm interview question

Write code for concurrent access on a linked list