Pregunta de entrevista de Amazon

How would you reverse a doubly-linked list?

Respuestas de entrevistas

Anónimo

7 ene 2012

LOL delete it.. then get the one from your backup ;)

Anónimo

7 ene 2012

since it is doubly linked... go through and swap the what pointers to next and last