Pregunta de entrevista de Deloitte

How to create deque by using linked list?