Thread: Tree traversals -> adjacency matrix

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    1

    Tree traversals -> adjacency matrix

    I have the 3 traversal(s) of a tree (inorder, preorder, postorder) given in 3 arrays, and I want to have the adjacency matrix of it. The problem is I don't have any idea on how to start.

    The tree is not a binary tree.
    Last edited by m3th0dman; 05-16-2010 at 03:57 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Interpreter.c
    By moussa in forum C Programming
    Replies: 4
    Last Post: 05-28-2008, 05:59 PM
  2. Matrix Help
    By HelpmeMark in forum C++ Programming
    Replies: 27
    Last Post: 03-06-2008, 05:57 PM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  5. BST/Red and Black Tree
    By ghettoman in forum C++ Programming
    Replies: 0
    Last Post: 10-24-2001, 10:45 PM