• Given a value aVal, returns a binary tree whose root is labeled by aVal and no children.

    Parameters

    • aVal: any

      a value at the root of the tree

    Returns Tree<any>