Pergunta de entrevista da empresa CSR Limited

to design a double linked list and reverse it.