Doubly linked list implementation of the operations of adding an element to the end and remove the specified index.