Saturday, October 18, 2008
Reverse link
Reverse a linked list iteratively, do it first with single pointers and then do it again with double pointers. Now do it again recursively but not tail-recursive, and then do it again tail-recursively. What do you do if it has a loop?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment