Thread: Binary Trees and Graphs

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    80

    Binary Trees and Graphs

    Can anyone refer me to a website that shows example of Binary trees and a graph data structure. I am looking to get a better grasp on this. Or if someone can explain it in easy terms, showing things involved. I know that it involves linked lists but from there I'm not fully understanding.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Emeighty
    Can anyone refer me to a website that shows example of Binary trees and a graph data structure.
    Prelude has a few tutorials on binary trees that will leave you eternally confuzzled, but apparently none on graphs in general.

    You might want to get a good data structures and algorithms book, but unfortunately the one that I like more among the two that I own is Java-based (Data Structures & Algorithms in Java, Second Edition by Robert Lafore).
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    80
    I'm grateful. Thanks for all the help.

  4. #4
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    This one is great for showing how the various kinds of binary trees look and how their algorithms work visually.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

Popular pages Recent additions subscribe to a feed