Wednesday, September 26, 2012

Reverse a single linked list

1 comment:

  1. if you pop() from the original and push() in the new one, you have a reversed list

    ReplyDelete