Pergunta de entrevista da empresa Amazon

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