Yahoo interview question

remove the node from the single linked list having only pointer to that node

Interview Answers

Anonymous

27 Jun 2009

requires some tricks (replace the entire node with the next one)

2

Anonymous

3 Nov 2009

replace the pointer to that node with the address of the node this one points to.