-
January 18th, 2015, 04:45 PM
#1
Cartesian product of tree structures and traversal path from leaf to rool node
I have a two tree structure like below.
Geography tree:
TotalGeo
| |
APAC Europe
| | |
CHN INDIA UK
BusinessSegment Tree:
TotalSeg
| |
Fin Economic
| | |
Loan E1 E2
I need to do a cartesian product these two trees and create a new tree. And then i shoud have a method using which i can find the all ancestors of a given node.
Please help.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|