Sunday, September 30, 2012

Build the tree from ancestor matrix

A tree is represented as a matrix where a(i,j) = 1 if j is ancestor of i. Build the tree.

1 comment:

  1. http://effprog.blogspot.in/2010/10/construct-binary-tree-from-ancestor.html

    ReplyDelete