Amazon Interview Question

How would you reverse a doubly-linked list?

Interview Answers

Anonymous

Jan 7, 2012

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

Anonymous

Jan 7, 2012

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