20 / \ / \ 13 40 / \ /\ 10 18 30 50 / \ \ 15 19 35 / \ / \ 14 17 32 38 \ 39Show the tree you get after removing the values below in the order given. Remove each value from the tree as modified so far; e.g., remove 38 from the tree that already has 10 removed, not from the original tree.
10 38 13 40 20Be sure to use the removal algorithm discussed in the text -- don't just eyeball it. (The text actually has a limited discussion of how to remove an element, although it does include complete code. You might also want to look at one of the many discussion of this topic online.)