Grafting trees
Define the function
graft
such that
(graft t t')
is the tree obtained by replacing all leaves of
t
by
t'
.
Resources
You must load the
solution
of
this exercise
.
Solution
Follow this link
Going home
Pierre Castéran