Tree traversals -> adjacency matrix

This is a discussion on Tree traversals -> adjacency matrix within the C Programming forums, part of the General Programming Boards category; I have the 3 traversal(s) of a tree (inorder, preorder, postorder) given in 3 arrays, and I want to have ...

  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 04: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, 06: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, 04: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, 11:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21