The Great Tree-List Recursion Problem

Stanford CS Education Library: one of the neatest recursive pointer problems ever devised. This is an advanced recursive pointer problem that uses a binary tree and a doubly linked list. You should be comfortable with pointers and recursion to understand this problem. This article introduces the problem with a few memory diagrams, gives some hints, and provides solution code in both Java and C/C++. Available in both HTML and PDF...

See: TreeListRecursion.html

Or as a PDF: TreeListRecursion.pdf -- the same content, but in PDF, so both the text and images are in the one file

See also...


Downloading help


Up to the CS Education Library Home