Microsoft interview question

reverse a linked-list

Interview Answers

Anonymous

Oct 14, 2012

you'll need 3 pointers here

1

Anonymous

Oct 26, 2012

You will need 3 pointers and iterate through the list, then reverse each element

Anonymous

Jun 4, 2012

simple declare 2 temperary variables and store the links of the variables of link list sequencially and alter the links make 1st link null.