Lets say I have a linked list that consists of {12,25,46,27,57} and I choose k to be 4. I'm hoping for a way to iterate through the list and only print 27 as my output.

I was also wondering how you would go about deleting a variable in the same fashion. So if I chose variable 3 from the list I would want the linked list to print as {12,25,27,57}.