Need help with Linked list question

can some tell me how i can solve below question.
Remove every alternate element from a circular linked list in python.
example:
input-1-->2-->3-->1(head).
output-1-->3-->1(head)

input-1-->2-->3-->4-->1(head)
output-1-->3-->1(head)

Comments (1)