Cisco interview question

remove alternate elements from a doubly connected circular linked list