Where can i find binary tree recursion manual

AI Thread Summary
The discussion centers on finding tutorials for binary tree recursion. Initial searches yielded limited results, prompting users to share specific resources. One recommended link is from Stanford's Computer Science Library, which covers binary trees. However, users express a need for more detailed explanations, particularly regarding transforming a binary tree into a doubly linked list. The process involves scanning the tree in order and appending elements to the doubly linked list. A question arises about the difference between the terms "append" and "join," as they are presented as distinct functions in the referenced material. The conversation highlights the need for clearer tutorials and explanations on these topics.
transgalactic
Messages
1,386
Reaction score
0
where can i find a tutorial on binary tree recursion

i searched in google:
Code:
http://www.google.co.il/search?hl=iw&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=binary+tree+recursion&spell=1

and there is no tutorials for this kind of stuff

??
 
Technology news on Phys.org
how about this?

http://cslibrary.stanford.edu/110/BinaryTrees.html

I found it with a search for "recursive binary tree."

[added] Hmmm, I get that when I search for "binary tree recursion" too, so you've probably found that already. If that's not the kind of thing you're looking for, maybe it would help if you tell us in more detail what you are looking for. :confused:
 
i found it too
there is a a question of transforming a binary tree into a doubly linked list
there is no explanation to the C solution
i am looking for the process of building such function
so i could do it my self
 
Scan the tree in order (essentially the same as printtree() in the link from above), and as you get each element, append it to the doubly link list.
 
whats the difference between the word "append" and "join" ?

they appear as different functions in this link
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
What percentage of programmers have learned to touch type? Have you? Do you think it's important, not just for programming, but for more-than-casual computer users generally? ChatGPT didn't have much on it ("Research indicates that less than 20% of people can touch type fluently, with many relying on the hunt-and-peck method for typing ."). 'Hunt-and-peck method' made me smile. It added, "For programmers, touch typing is a valuable skill that can enhance speed, accuracy, and focus. While...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top