Microsoft Interview Question

Implement a linked list. Now implement a method to reverse the elements of a linked list.

Interview Answers

Anonymous

Jan 8, 2016

There is no need to use stack to reverse the elements.

Anonymous

Aug 11, 2015

Obvious data structures question. Implement the list then show that you know you should use a stack to implement the element reversal question.