Pergunta de entrevista da empresa eGain

They asked me to roughly code a doubly linked list