Question d’entretien chez Qualcomm

Write a program to delete nodes with prime number data in a singly linked list