Function for constructing all possible trees with given inorder traversal stored in an array from arr [ start ] to arr [ end ] . This function returns a vector of trees .
def getTrees ( arr , start , end ) : NEW_LINE