Qualcomm Interview Question

C code for adding and deleting nodes in a linked list. Modify the same for circular linked list