# coding=utf-8 id = 143 name = 'maxT/2' slug = 'find the greatest element in a tree' description = '''\

maxT(Tree, Max): Max is the greatest element in the tree Tree.

  ?- maxT(t(1, t(2), t(3)), Max).
    Max = 3.
''' hint = {}