Amazon Interview Question

The coding question was to add and remove an element from a double-linked list.