« first day (873 days earlier)   

vzn
3:02 AM
as WL points out DAGs may be more natural for your app. is there a reason you want to confine to trees & not DAGs?
a tree defn itself seems to be a "notation" for your data structure.
 

« first day (873 days earlier)