Elbit Systems Interview Question

given a linked list with one pointer for next, remove a given index and return the list