IBM Interview Question

given linked list, remove the odd indices elements/node