tree algorithms

Started by
4 comments, last by Thirthe 16 years, 5 months ago
Hello all! I have been avoiding learning tree algorithms for far too long, so I am here now asking for an advice/opinion. Which tree algorithm would be the simplest(or even simpler) to learn? Thanks!
Advertisement
I recommend:
http://www.eternallyconfuzzled.com/jsw_home.aspx

Start with just an ordinary binary search tree.
"In order to understand recursion, you must first understand recursion."
My website dedicated to sorting algorithms
Quote:Original post by Thirthe
Which tree algorithm would be the simplest(or even simpler) to learn?


Evaluating an arithmetic expression represented as a tree.

I'm not sure if you mean examples of the actual implementation of tree algorithms, or examples of the use of tree algorithms.

- For the former I would suggest looking at binary trees.
- For the latter you could look at implementations of a hierachical file and directory listing as in the Windows Explorer directory tree view.
Try with binary search tree, then learn balance tree, heap, b tree ,etc.

//removed spammish signature

[Edited by - jbadams on October 27, 2007 6:43:21 AM]
very good, time to get to it then :)
thanks!

This topic is closed to new replies.

Advertisement